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!
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת ticao2 🇧🇷 pt-BR
ב-אוגוסט 13, 2023 ב-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