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
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 27. Januar 2013 um 13:16
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.
Antwort von Cocotus
am 27. Januar 2013 um 14:29
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!