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?
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от vkay
, 29 июля 2021 в 08:44
You can use the Discover endpoints by using
with_watch_provider
andwith_text_query
. The URL for your example: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.Ответ от acumming24
, 29 июля 2021 в 09:16
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!!
Ответ от vkay
, 29 июля 2021 в 09:24
Your welcome :) That's no surprise since It's not documented in the documentation (but the parameter was mentioned in the forum sometimes :')).
Ответ от ticao2 🇧🇷 pt-BR
, 29 июля 2021 в 10:07
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. :-)
Ответ от cylon147
, 7 февраля 2024 в 03:50
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
Ответ от Travis Bell
, 7 февраля 2024 в 11:08
@cylon147, a few things...
append_to_response
is not supported on discover.watch_region
can only be used in conjunction with eitherwith_watch_monetization_types
orwith_watch_providers
.