iTunes Search API返回额外的,不正确的结果
问题描述:
我已经在我的应用程序中使用iTunes API一段时间了,但截至最近几天,我已经注意到它返回了奇怪的结果。我目前使用它来搜索软件,但现在开始将软件艺术家添加到我认为与搜索参数不符的结果中。以下是搜索我的应用程序的URL,下面是返回的JSON。iTunes Search API返回额外的,不正确的结果
http://itunes.apple.com/search?term=AppTracker%20Deluxe&limit=100&entity=software&lang=en_GB&country=GB
{
"resultCount":2,
"results": [
{"kind":"software", "features":[],
"supportedDevices":["iPhone5s", "iPadMini", "iPhone5c", "iPadFourthGen", "iPad2Wifi","iPad23G", "iPadThirdGen", "iPhone5", "iPodTouchFifthGen", "iPadThirdGen4G", "iPhone4", "iPadFourthGen4G", "iPadMini4G", "iPhone4S"], "isGameCenterEnabled":false, "
切割大多数的东西了空间
"languageCodesISO2A":["EN", "FR", "DE", "IT", "ZH", "ES"], "fileSizeBytes":"3575818", "trackContentRating":"4+", "averageUserRating":5.0, "userRatingCount":5},
{"wrapperType":"artist", "artistType":"Software Artist", "artistName":"Handyman Interactive", "artistLinkUrl":"https://itunes.apple.com/gb/artist/handyman-interactive/id586907831?uo=4", "artistId":586907831}]
}
正如你所看到的,在返回正确的应用程序的顶部,它返回一个软件艺术家(我自己在这种情况下),它过去没有做过。很明显,我可以更新应用程序忽略这些,但对于我的应用程序的当前版本,它会导致轻微的错误。这是苹果终结的问题还是它的目的?
感谢您的帮助, 迈克
你能为此提供任何代码吗..其实我试图从iTunes获取游戏细节。但我无法得到..你能为此发布一些代码吗?我的问题是http://stackoverflow.com/questions/23696311/get-game-details-from-itunes-using-php – 2014-05-16 13:56:44