Поддержка The Movie Database

Hello, using https://api.themoviedb.org/3/tv/popular?language=en-US&page=1 gives a wildly different result than what is shown on https://www.themoviedb.org/tv and I'm interested in how I can retrieve a list similar to that.

4 ответов (на странице 1 из 1)

Jump to last post

bump

@t-kupp said:
API call to show popular TV shows used on https://www.themoviedb.org/tv
Hello,
using

https://api.themoviedb.org/3/tv/popular?language=en-US&page=1

gives a wildly different result than what is shown on https://www.themoviedb.org/tv
and I'm interested in how I can retrieve a list similar to that.

Considering this Note that is on the page in DOCs:
https://developer.themoviedb.org/reference/movie-popular-list

Note
This call is really just a discover call behind the scenes.
If you would like to tweak any of the default filters head over and read about discover.

I suggest you look at Discover.
https://developer.themoviedb.org/reference/discover-tv
And use the same filters that are being used on your Web Popularity page.

Hey, thanks for the answer. I tried the discover method, but as you said, since the notes say it is the same API call as the popular call, it returns the exact same result.

And use the same filters that are being used on your Web Popularity page.

Yes, but that is the question. I want to replicate this list https://www.themoviedb.org/tv, however I don't know the right API call since it is not the popular call.

@t-kupp said:
Hey, thanks for the answer. I tried the discover method, but as you said, since the notes say it is the same API call as the popular call, it returns the exact same result.

And use the same filters that are being used on your Web Popularity page.

Yes, but that is the question. I want to replicate this list https://www.themoviedb.org/tv,
however I don't know the right API call since it is not the popular call.

It's a Discover API Request using
&sort_by=popularity.desc
I don't know what other filters you use on your TMDb web page.

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

Глобальные

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

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

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

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

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

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

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

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

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

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

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

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

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

Параметры

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

Войти