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
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2013 年 01 月 27 日 1: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.
Cocotus 的回复
于 2013 年 01 月 27 日 2: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!