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å sida 1 av 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 inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus på sökrutan
p öppna profilmenyn
esc stäng ett öppet fönster
? öppna tangentbordsgenväg fönstret

På mediasidor

b gå tillbaka (eller till förälder när det är tillämpligt)
e gå till redigerings sidan

På tv-säsongssidor

(höger pil) gå till nästa säsong
(vänster pil) gå till den föregående säsongen

På tv-avsnittssidor

(höger pil) gå till nästa avsnitt
(vänster pil) gå till föregående avsnitt

På alla bildsidor

a öppna lägg till bild fönstret

På alla redigeringssidor

t öppna översättnings väljaren
ctrl+ s skicka förmulär

På diskussionssidor

n skapa ny diskussion
w växla sedd-status
p växla offentligt/privat
c växla stäng/öppna
a öppna aktivitet
r svara på diskussionen
l gå till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nästa sida
(vänster pil) föregående sida

Inställningar

Vill du betygsätta denna artikel eller lägga till den i en lista?

Logga in