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!
Non podes atopar unha película ou serie? Inicia sesión para creala.
Queres valorar ou engadir o elemento a unha listaxe?
Non es membro?
Resposta de ticao2 🇧🇷 pt-BR
no 13 de agosto do 2023 ás 12:29PM
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