Axuda de 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 respostas (na páxina 1 de 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.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión