如何从AppStore获取应用的版本等具体信息

Cool.Cat 2014-05-22 2223

苹果提供了REST接口,可以查询出指定appID的所有信息,例如我们请求【腾讯新闻】:
http://itunes.apple.com/lookup?id=399363156


返回json结构如下:
{ "resultCount":1, "results": [ { "kind":"software", "features":[], "supportedDevices":[ "iPhone-3GS", "iPhone5c", "iPad23G", "iPhone5", "iPadWifi", "iPad3G", "iPadMini", "iPadFourthGen4G", "iPodTouchFifthGen", "iPadFourthGen", "iPodTouchourthGen", "iPhone4S", "iPodTouchThirdGen", "iPadThirdGen4G", "iPad2Wifi", "iPadThirdGen", "iPhone4", "iPadMini4G", "iPhone5s" ], "isGameCenterEnabled":false, "screenshotUrls":[ "http://a2.mzstatic.com/us/r30/Purple6/v4/be/41/a5/be41a5ec-dd67-cae9-8f06-1693bd4ec41a/screen1136x1136.jpeg", "http://a1.mzstatic.com/us/r30/Purple4/v4/aa/23/73/aa23739a-b53c-45ab-6535-51da342931c8/screen1136x1136.jpeg", "http://a5.mzstatic.com/us/r30/Purple/v4/4e/64/6f/4e646f42-7799-21b8-24ec-afa46d07fcd5/screen1136x1136.jpeg", "http://a4.mzstatic.com/us/r30/Purple2/v4/21/fe/10/21fe1009-794c-96b8-892a-0aa9cac33689/screen1136x1136.jpeg", "http://a5.mzstatic.com/us/r30/Purple2/v4/f4/49/b2/f449b224-e561-f45d-cd42-018e8fd0e39d/screen1136x1136.jpeg" ], "ipadScreenshotUrls":[], "artworkUrl60":"http://a1726.phobos.apple.com/us/r30/Purple6/v4/fb/38/62/fb3862a2-fa88-f006-b46a-ebd4efefc1df/Icon.png", "artworkUrl512":"http://a448.phobos.apple.com/us/r30/Purple6/v4/f6/dc/f6/f6dcf695-f20b-f287-6269-79c435ded984/mzl.ohdmoqti.png", "artistViewUrl":"https://itunes.apple.com/us/artist/tencent-technology-beijing/id542280115?uo=4", "artistId":542280115, "artistName":"Tencent Technology (Beijing) Company Limited", "price":0.00, "version":"4.0", "description":"腾讯新闻是腾讯团队用心打造的一款丰富、及时的新闻应用,本着精炼、轻便的目标,为用户提供高效、优质的阅读体验。全球视野,聚焦中国,一朝在手,博览天下。\n\n1.每日新闻及时报道,洞察真相,领先一步\n\n2.媒体订阅,全面接入优质媒体/微信自媒体,一处订阅,多处可看\n\n3.云收藏,便捷收藏、随时访问、永久保存\n\n4.视频、图片、直播,多媒体资讯,舒适体验,值得拥有\n\n5.专题新闻,聚合报道重要新闻事件,了解事件全貌\n\n6.离线下载智能启动,30秒下载1000条新闻,没有网络也有得看\n\n7.横划手势切换2级栏目,单手操作更方便\n\n8.两种阅读模式,2G/3G/wifi环境顺畅浏览\n\n9.腾讯微博、QQ空间、微信朋友圈、新浪微博、微信好友、手机QQ好友、邮件,随时与好友分享态度", "currency":"USD", "genres":[ "News", "Social Networking" ], "genreIds":[ "6009", "6005" ], "releaseDate":"2010-10-23T19:24:21Z", "sellerName":"Tencent Technology (Beijing) Company Limited", "bundleId":"com.tencent.info", "trackId":399363156, "trackName":"腾讯新闻", "primaryGenreName":"News", "primaryGenreId":6009, "releaseNotes":"版本4.0新功能:\n1、阅读更加智能,你关心的尽在眼前\n2、新增创意截屏功能,快来给新闻盖个戳吧", "formattedPrice":"Free", "wrapperType":"software", "trackCensoredName":"腾讯新闻", "languageCodesISO2A":[ "ZH" ], "fileSizeBytes":"17397447", "sellerUrl":"http://news.qq.com", "contentAdvisoryRating":"12+", "averageUserRatingForCurrentVersion":5.0, "userRatingCountForCurrentVersion":8, "artworkUrl100":"http://a448.phobos.apple.com/us/r30/Purple6/v4/f6/dc/f6/f6dcf695-f20b-f287-6269-79c435ded984/mzl.ohdmoqti.png", "trackViewUrl":"https://itunes.apple.com/us/app/teng-xun-xin-wen/id399363156?mt=8&uo=4", "trackContentRating":"12+", "averageUserRating":4.0, "userRatingCount":448 }] }
 

最新回复 (0)
返回
发新帖
X