Suport de 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 resposta (a les pàgines 1 de 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.

No trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.

Global

s centra la barra de cerca
p obre el menú del perfil
esc tanca una finestra oberta
? obre la finestra de dreceres de teclat

A les pàgines de materials

b torna enrere (o la superior quan sigui aplicable)
e ves a la pàgina d’edició

A les pàgines de temporades

(fletxa dreta) ves a la temporada següent
(fletxa esquerra) ves a la temporada anterior

A les pàgines d'episodis

(fletxa dreta) ves a l'episodi següent
(fletxa esquerra) ves a l'episodi anterior

A totes les pàgines d'imatges

a obre la finestra d'afegir imatges

A totes les pàgines d'edició

t obre el selector de traducció
ctrl+ s envia el formulari

A les pàgines de debat

n crea un debat nou
w canvia l'estat de visualització
p canvia públic/privat
c tanca o obre
a obre activitat
r resposta al debat
l ves a la darrera resposta
ctrl+ enter envieu el vostre missatge
(fletxa dreta) pàgina següent
(fletxa esquerra) pàgina anterior

Configuracions

Desitgeu valorar o afegir aquest element a una llista?

Inicieu la sessió