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!
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von ticao2 🇧🇷 pt-BR
am 13. August 2023 um 12:29
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:
Daily ID Exports
https://developer.themoviedb.org/docs/daily-id-exports