I noticed different results for movie "Casino Royale" when I try to get all posters for that movie.
v.2.1 Call: http://api.themoviedb.org/2.1/Movie.getImages/en/xml/API_KEY/tt0381061
v3: Call: https://api.themoviedb.org/3/movie/tt0381061/images?api_key=###
v3 seems to deliver all posters while v.2.1 seems to miss some posters. Is there any explanation for this?
EDIT: Just checked: v.2.1 returns 50 posters, v.3 return 84
Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.
Want to rate or add this item to a list?
Not a member?
Odpowiedź użytkownika Travis Bell
27 stycznia 2013 o godz. 1:16PM
Hi Cocotus,
No, I don't have much of an explanation. v3 (with no language param) will pull all of the images, which at 84, matches what I am seeing on the website. So that's definitely the correct count. 2.1 might only be serving some of the images marked as 'en' or 'no language'. Not sure.
2.1 is deprecated though, and has been for the better part of a year so there really isn't any reason to not use v3. Especially since it's the correct count anyways.
Odpowiedź użytkownika Cocotus
27 stycznia 2013 o godz. 2:29PM
Thanks for your quick answer! It seems someone should recode the movie scraper in EmberManager (it uses the old 2.1 API calls) because not getting all possible images in Ember is definately not nice :) Thanks for the information!