Служба підтримки 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 підтвердити повідомлення
(стрілка вправо) наступна сторінка
(стрілка вліво) попередня сторінка

Налаштування

Хочете оцінити чи додати до списку?

Увійти

Немає облікового запису?

Приєднайтеся до спільноти