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 的回复
于 2023 年 08 月 13 日 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