The Movie Database Support Forum

Hello,

I'm using "moviedb-promise": "^3.4.1", for integrating with TMDB API using Node.js. The popular movies as returned by the API seems to match what's shown on the TMDB website but the results are different for Popular TV Shows.

Following is the code for fetching the Popular Movies

export const getPopularMovies = async () => {
  const obj = await TMDB.moviePopular();
  return obj;
};

And below is the code for fetching the Popular TV Shows:

export const getPopularTvShows = async () => {
  const obj = await TMDB.tvPopular();
  return obj;
}

Not able to figure out why are the results different and what can I do to match the Popular TV shows as shows as shown on the TMDB Website.

Thanks in advance!

1 Antwort (Seite 1 von 1)

Jump to last post

@bingrteam said:
Popular TV Shows are different from API response as compared on the Popular TV Shows on TMDB Website.
Hello,
I'm using "moviedb-promise": "^3.4.1", for integrating with TMDB API using Node.js.
The popular movies as returned by the API seems to match what's shown on the TMDB website but the results are different for Popular TV Shows.
Following is the code for ...
Not able to figure out why are the results different and what can I do to match the Popular TV shows as shows as shown on the TMDB Website.
Thanks in advance!

Read this description about these API Requests.
https://developer.themoviedb.org/docs/popularity-and-trending

If I understand correctly it will not be the same answer, the same as the website.
I highlight this part:

There is no API to explore this data right now but it is something that would be a lot fun to dig into.
The daily file exports do however, contain the popularity data so there is a record of the values starting on April 28, 2017.

Daily ID Exports
https://developer.themoviedb.org/docs/daily-id-exports

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden