„The Movie Database“ palaikymas

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 atsakė (on page 1 iš 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.

Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.

Bendras

s susitelkti į paieškos juostą
p profilio meniu
esc uždarykite atidarytą langą
? spartieji klavišai

Medijų puslapiuose

b grįžkite atgal (arba tėvams leidus)
e į redagavimo puslapį

TV sezono puslapiuose

(dešinė rodyklė) sekantis sezonas
(kairė rodyklė) ankstesnis sezonas

TV epizodo puslapiuose

(dešinė rodyklė) sekantis epizodas
(kairė rodyklė) ankstesnis epizodas

Visuose atvaizdžio puslapiuose

a atverti atvaizdžio pridėjimo langą

Visuose redagavimo puslapiuose

t vertimo parinktys
ctrl+ s pateikti formą

Diskusijų puslapiuose

n sukurti naują diskusiją
w perjungti peržiūros būseną
p perjungti viešasis / privatus
c perjungti uždaryti / atidaryti
a peržiūrėti aktyvumą
r atsakyti į pokalbį
l į paskutinį atsakymą
ctrl+ enter pateikti pranešimą
(dešinė rodyklė) sekantis puslapis
(kairė rodyklė) ankstesnis puslapis

Nustatymai

Norite įvertinti ar įtraukti šį elementą į sąrašą?

Prisijungti