Suport de The Movie Database

Hello,

I've noticed that the request similar_movies has an optional parameter append_to_response, now I'd like to get the overview for a movie that is returned. However I can't seem to get the append_to_response parameter to work, I've tried different things like: alternative_titles,keywords,releases,trailers,overview - that I use when requesting a single movie information.

url: http://private-c72d-themoviedb.apiary.io/3/movie/550/similar_movies?api\_key=####&append_to_response=alternative_titles,keywords,releases,trailers,overview

I couldn't find any other information regarding this parameter except "Comma separated, any movie method", documented at the top of the documentation

Now I'm not sure if the result I want is even possible with the parameter but it was worth an question.

Cheers,

12 resposta (a les pàgines 1 de 1)

Jump to last post

Hi rjvandoesburg,

The values you map in the append_to_response parameter have to match that of a actual API request. So, if you wanted the overview and similar movies in one response you would do:

https://api.themoviedb.org/3/movie/550?api_key=###&append_to_response=similar_movies

If you wanted similar movies, alternative titles, keywords, release dates and trailers… use this:

https://api.themoviedb.org/3/movie/550?api_key=###&append_to_response=similar_movies,alternative_titles,keywords,releases,trailers

Hope that helps.

Hi Travis,

Thanks for your reply, however that is not what I meant.

it states here:

http://docs.themoviedb.apiary.io/#get-%2F3%2Fmovie%2F%7Bid%7D%2Fsimilar_movies
at optional parameters append_to_response I would like to know how that one works and if it works. If you look at this page:
http://www.themoviedb.org/movie/550-fight-club/similar-movies?language=en
it shows a summary of the movie, this isn't retrieved from
http://private-c72d-themoviedb.apiary.io/3/movie/550/similar_movies?api_key=#### 
thus I was wondering if by adding append_to_response it was possible to send the overview as well.

Hope this clarified my question.

Summary isn't a method. You can't query the "main" movie method since there's no name associated with it. What I proposed above in my first example would get you the exact same information, just the other way around.

Yea figured I had to work around like that, just have to find out how I'm going to rule out having to send 20 request (if non of the movies have yet been retrieved) just because I don't have the overview yet. But I'll cross that bridge when I get there :)

But thanks for your quick reply.

hi read all here but i still don't understand why this does not work

http://api.themoviedb.org/3/movie/52591/similar_movies?api_key=my_api_key&append_to_response=trailers

Should'n this return a list of similar movies and trailers for each similar movie ?

Hi intelline,

Ya, that requests should work based on what I have in the documentation. I've created a new ticket for me to look into this in the future. In the meantime, you can get the data you're looking for by doing this:

http://api.themoviedb.org/3/movie/52591?api_key=###&append_to_response=trailers,similar_movies

Cheers.

Hi :-)

I would like to know if the problem of Travis Bell is solved please? I've the same request to do, and it doesn't work... :-/

Thanks for the reply, excuse me for my bad English.

No, it is not yet. Same solution as I posted above for now.

Thanks for the reply, but i've got a problem to have the overview of each similar movie, for an input movie.

Explanations:

I make a first request to have details about a movie. I have also the similar movies (id, title, etc... but no overview).

So, now, have i to make a number of requests (by id) which is the same as the number of similar movies, just to have the overview of each similar movie?

It seems very veracious to do that... :-/

Thank you!

Sounds to me like you're actually after this ticket.

I don't know for sure if #394 will get done and even if I do decide to move ahead with it, when. You can subscribe to the ticket to be notified about any future progress.

Cheers.

Thank you for all, i'll do it :-)

++

Hi WebTogz,

Ticket #394 was just rolled out to production for movie responses. You may have to wait up to 12 hours before it's available API wide but the default response objects have been expanded a bit.

Cheers.

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ó