Wsparcie The Movie Database

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 odpowiedź (strona 1 z 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.

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj