The Movie Database support

Hello, when I use the trending search : "https://api.themoviedb.org/3/trending/all/day?language=en-US&api_key=", some movies have name variable while some other have title variable. First of all is there a reason for this ? And also when I take the id of a movie with a "name" variable, the id is wrong. For example, I got: "id": 138502, "name": "X-Men '97", but when I search for the movie with the id of "138502" with https://api.themoviedb.org/3/movie/138502?, I found the page of the movie "Offline". Am I doing something wrong or is there a problem in the API ? (sorry if my english is incorrect)

1 svar (på side 1 af 1)

Jump to last post

It seems that you are mixing series and movies. The ones with "name" are series and the ones with "title" are movies. You have a field called "media type" which indicate you the type of the entry.

If you want only movies, you should use the query "https://api.themoviedb.org/3/trending/movie/day?language=en-US&api_key=" instead of the one you are currently using.

Kan du ikke finde en film eller TV-serie? Log in og opret den.

Global

s focus the search bar
p open profile menu
esc luk et åbent vindue
? open keyboard shortcut window

På mediesider

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

På alle billedesider

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

På diskussionssider

n opret ny diskussion
w toggle watching status
p toggle public/private
c toggle close/open
a åben aktivitet
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Indstillinger

Want to rate or add this item to a list?

Log ind