Hi All, I’m currently playing around with the movie method and the append_to_response parameter.
I’ve just discovered that it’s possible to add parameters to an appended method, for example: http://api.themoviedb.org/3/movie/550?api_key=API_KEY_HERE&append_to_response=alternative_titles,similar_movies&language=DE
But I’ve one problem… when I add another method after on with a parameter, for example: http://api.themoviedb.org/3/movie/550?api_key= API_KEY_HERE&append_to_response=similar_movies&language=DE,alternative_titles
In this case the result of the last method (alternative_titles) does not get appended to the response.
Now the question, is it only possible to add parameters to the last method, or is it a bug?
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط Travis Bell
در تاریخ ژوئن 24, 2013 ساعت 6:44 ب.ض
You are only comma separating the language parameter in your query.
If you want the
alternative_titles
andsimilar_movies
you need to append them as part of theappend_to_response
parameter. This is a working example:Cheers.
پاسخ توسط tmdb78260312
در تاریخ ژوئن 25, 2013 ساعت 2:37 ق.ض
Ah, my bad. I thought that I can add a parameter to a append method (e.g. alternative_titles)… now everything makes sense^
پاسخ توسط josue.valrob
در تاریخ ژوئیه 9, 2016 ساعت 7:52 ب.ض
how its works for persons? for example when i look in the most popular actors with: http://api.themoviedb.org/3/person/popular?api_key=XXXX and try to add the append to response to get, more details about the actor with: http://api.themoviedb.org/3/person/popular?api_key=###&append_to_response=gender,biography,place_of_birth i got the same answer without the apend to...
profile_path: "/z3sLuRKP7hQVrvSTsqdLjGSldwG.jpg", adult: false, id: 28782, known_for: [], name: "Monica Bellucci", popularity: 36.880718
and, no more... :(
also, if i try to do use the append to response in others query i dont get result, for example: http://api.themoviedb.org/3/movie/33?api_key=###&append_to_response=alternative_titles i know, the best way to get the alternatives title for a movie is: http://api.themoviedb.org/3/movie/33/alternative_titles?api_key=a891a43144ff454381c26c74adc91c1f but, how i know is there is an other way to get parameters from the persons?
thanks for your time and help
پاسخ توسط Travis Bell
در تاریخ ژوئیه 12, 2016 ساعت 9:41 ق.ض
Hi josue.valrob,
append_to_response
is not supported on any list or search methods, only the primary media id (movie/id, tv/id and person/id) methods.پاسخ توسط josue.valrob
در تاریخ ژوئیه 12, 2016 ساعت 5:01 ب.ض
how i know what kind of method is the data that i am looking for?