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