Supporto The Movie Database

hello, when I send a request to get similar movies I get an array of results like this:

    original_name: "Shadowhunters",
    id: 63210,
    name: "Shadowhunters",
    etc.

but it doesn't have media_type property so I cannot send a request like this:

https://api.themoviedb.org/3/MEDIA_TYPE/ID?api_key=MY_KEY

to get the desired item full details. So how can I get an item just by its id? thanks.

4 risposte (nella pagina 1 di 1)

Jump to last post

Hi @blue-turtle13g,

I'm confirming that when you say "similar" you are referring to the /similar method. If so, that's odd, you shouldn't be seeing TV items in movie results, or vice versa. This method should only be returning items from the same media type.

Do you have an example where this is happening?

@travisbell said:

Hi @blue-turtle13g,

I'm confirming that when you say "similar" you are referring to the /similar method. If so, that's odd, you shouldn't be seeing TV items in movie results, or vice versa. This method should only be returning items from the same media type.

Do you have an example where this is happening?

Hello, I have the same issue with https://api.themoviedb.org/3/movie/1151039. But for me, it's not a problem that it returns both media types. You just need to add this property (media_type) to the response. Thank you!

The similar endpoints do not return mixed media types. What item are you getting back that makes you think this is the case?

@travisbell said:

The similar endpoints do not return mixed media types. What item are you getting back that makes you think this is the case?

I apologize for the inconvenience, but I just realized something. At first, I thought that the /similar endpoint would return both media types, and apparently, I came across a movie that didn’t have enough data, so I assumed it was a different media type. It looks like everything is actually working as intended—this was my mistake, and now I understand that /similar returns only one media type.

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi