Supporto The Movie Database

Hi. I've been looking at the movie methods and trying to make sure I implement all the calls for each method.

According to the documentation, some of the movie methods can accept an "append_to_response" parameter, but they don't seem to append the responses.

e.g. http://api.themoviedb.org/3/movie/78/keywords?api_key=APIKEY&append_to_response=alternative_titles,changes,credits,images,keywords,lists,releases,reviews,similar,translations,videos

Is this a documentation error or am I missing something.

Also, could you enumerate the movie, TV and people append to response values to avoid ambiguity?

4 risposte (nella pagina 1 di 1)

Jump to last post

Hi Stuart,

You won't be able to call append_to_response from a sub method. I would do the following to get what you're after:

https://api.themoviedb.org/3/movie/78?api_key=###&append_to_response=keywords,alternative_titles,changes,credits,images,keywords,lists,releases,reviews,similar,translations,videos

Also, could you enumerate the movie, TV and people append to response values to avoid ambiguity?

Could you elaborate what you mean by this? I'm not positive I understand the question :D

Cheers!

Ok, so the docs perhaps want updating, because it reads like the sub methods can have an append_to_response as a parameter, rather than, what I assume you mean, is that they can be an appended response.

What I meant by the enumerated list, is to define the list of movie, tv and people methods that can be appended to the base method. I currently have:

Movies - alternative_titles, changes, credits, images, keywords, lists, releases, reviews, similar, translations, videos

TV - alternative_titles, changes, content_ratings, credits, external_ids, images, keywords, similar, translations, videos

People - changes, combined_credits, external_ids, images, movie_credits, tagged_images, tv_credits

These just need to be listed somewhere to help people.

I, too, would like to use the append to responses to any movie method, such as the now playing request, so that I don't have to get the movie id for each movie and call separate appends. This would be faster and take fewer requests to your server. Also, if I use the separate requiests it puts me over the 40 limit and it could be avoided. Thanks!

We do not have plans to support an append_to_response type option for our featured list pages, only top level media objects.

It should be noted that we did add 3 new fields to our featured list pages which could help. The genre_ids, original_language and overview are now part of these media object responses.

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