我在我的应用程序中使用 iTunes API 已经有一段时间了,但最近几天我注意到它返回了奇怪的结果。我目前使用它来搜索软件,但是它现在开始将软件艺术家添加到我认为搜索参数不正确的结果中。下面是搜索我的应用的 URL,下面是返回的 JSON。
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}]
}
如您所见,除了返回正确的应用程序之外,它还返回了过去没有做过的软件艺术家(在这种情况下是我自己)。显然我可以更新应用程序以忽略这些,但对于我的应用程序的当前版本,它会导致轻微的错误。这是苹果结束的问题还是有意为之?
谢谢你的帮助,迈克