The Movie Database Support Forum

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 Antwort (Seite 1 von 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.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden