Sprijin Bază de date filme (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 răspunsuri (pe pagina 1 din 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.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare