The Movie Database Support

 Ongoing Maintenance

Dear TMDb Community,

In the next few months, you might notice some changes on our site. My primary goal is, and always has been, to build the best media database on the internet and in order for me to stay true to that goal, we will be making these changes to enable TMDb to be more robust and reliable than before.

As you might recall from my 2019 recap, I have some pretty amazing plans for 2020 so stay tuned for some really fantastic launches this year!

If you have any questions please contact us at support@themoviedb.org.

Sincerely,

Travis

the discover movie API returns with different response body every day, some values are optionals and sometimes comes without being optionals so the response fails to be parsed in my data model

3 replies (on page 1 of 1)

Jump to last post

In order for someone to help you with API Request questions, it is critical that you post here the API Request you are using.
Remember to replace your Key with [THE_KEY] , or something like that.

For example, if you are using the parameter & sort_by = popularity.desc,
the answer may be different because the popularity changes every day.
For this and other reasons it is necessary to see your API Request.

So, this is the reason.
Popularity changes all the time.
If I'm not mistaken, it is calculated based on:

  • Amount of access to the website page
  • Number of accesses by API
  • Quantity of inclusion in Lists
  • Number of votes
  • Average votes
  • Etc... Etc... Etc...

Alias, see the first row of Posters on the TMDb homepage.
It is the Most Popular row.
Every time I update, the order changes.

some values are optionals and sometimes comes without being optionals

What I didn't understand is what you mean by Optional Values.
What Values are you talking about?
In the answer, all the films have the same items.
An item may be blank because no user has added the data.

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