Поддержка 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 ответов (на странице 1 из 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.

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти