The Movie Database Support

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!

1 reply (on page 1 of 1)

Jump to last post

@bingrteam said:
Popular TV Shows are different from API response as compared on the Popular TV Shows on TMDB Website.
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 ...
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!

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:

There is no API to explore this data right now but it is something that would be a lot fun to dig into.
The daily file exports do however, contain the popularity data so there is a record of the values starting on April 28, 2017.

Daily ID Exports
https://developer.themoviedb.org/docs/daily-id-exports

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

உள் நுழை