我怎样才能获取有关从iTunes Store的应用程序/歌曲/视频等资料? [英] How can I fetch information about the app/song/video etc. from iTunes Store?

查看:144
本文介绍了我怎样才能获取有关从iTunes Store的应用程序/歌曲/视频等资料?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要得到来自iTunes Store的应用程序/歌曲/视频按项目ID的信息。

I need to get an info about the app/song/video by item id from iTunes Store.

我发现<一个href=\"http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsLookup?id=324021811&mt=8\"相对=nofollow>这个

不过,这并不与应用工作。

But it doesn't work with apps.

有任何公开的API?

UPD:我可以用得到的信息<一个href=\"http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewSoftware?id=290777756&mt=8\"相对=nofollow>此链接
,但这不是一个结构化的数据,它只是一个标记为iTunes来显示的东西。我不能依赖 - 它可以随时被改变,是很难分析,因为它没有一致的结构...

UPD: I can get info using this link , but this is not a structured data it's just a markup for iTunes to display stuff. I can't rely on that - it can be changed anytime and is hard to parse because it has no consistent structure...

推荐答案

苹果现在似乎提供了一个友好的搜索服务返回的JSON。注意:请查看documentation确实<一个href=\"http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html#legal\">stipulate该API是用于与推广的搜索结果(即它是专为会员链接)连接。

Apple now seems to offer a friendlier search service returning JSON. NB: the documentation does stipulate that the API is for use in connection with promoting the search results (i.e. it's designed for affiliate links).

例,获取信息关于应用程序,如果你知道它的苹果ID:

Example, fetching info about an app if you know its Apple ID:

http://itunes.apple.com/lookup?id=[appleID]

通用关键字搜索

http://itunes.apple.com/search?term=[query]

这篇关于我怎样才能获取有关从iTunes Store的应用程序/歌曲/视频等资料?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆