Soporte de The Movie Database

Hi there,

I am looking to be able to search for a film, but only showing results by a certain provider? For example, searching 'Pirates' and only get only results that are available on Disney+. Is there anything you could suggest?

6 respuestas (en la página 1 de 1)

Jump to last post

You can use the Discover endpoints by using with_watch_provider and with_text_query. The URL for your example:

https://api.themoviedb.org/3/discover/movie?with_watch_providers=390&with_text_query=Pirates&api_key=KEY

390 is the provider id for Disney Plus. You may specify the watch region as well. Unfortunately, currently there is no watch provider search, so you have to use the /watch/providers/movie endpoint to get the full list and filter it yourself.

Thank you! I had looked at the discover function and I am currently implementing that for general use, but I didn't see the with_text_query part!!

Your welcome :) That's no surprise since It's not documented in the documentation (but the parameter was mentioned in the forum sometimes :')).

As @vkay said, this parameter is not documented.
Travis Bell has already mentioned it in some conversations.
He said it works but is not very reliable.
So you might get some surprise. :-)

i am looking for the same API call just only change is I am trying to get all watch providers but somehow it not returning the required data.

https://api.themoviedb.org/3/discover/movie?&api_key=###&with_text_query=Jack+Reacher&watch_region=IN&append_to_response=watch/providers

@cylon147, a few things...

  1. append_to_response is not supported on discover.
  2. watch_region can only be used in conjunction with either with_watch_monetization_types or with_watch_providers.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión