是否可以通过 iTunes App store API 获取任何应用程序的排名位置?
经过一些研究后,我发现有一些网站(例如 http://www.topappcharts.com)和可以显示特定应用程序排名的应用程序。但是,该图表仅显示了应用程序排名在前 200 名内的时间段。
我的问题是是否有一些官方 API 或非官方 API 可以调用来获取我的应用程序的排名位置(即使它的位置约为500、1000)。
或者,像iTunes AppStore显示那样按页面查询。逐页查找目标App,并以pagex20+当前页面内的位置计算位置。 是否可以?
谢谢
After did some research, I found that there are some websites( e.g. http://www.topappcharts.com) and Apps that can show rankings for a particular App. However, the graph is only showing the periods when the App's ranking is within top 200.
My question is whether there is some official API or non-official API that I can call to get the ranking position of my App (even it's position is about 500, 1000).
Or, query by page like iTunes AppStore display. page by page till find the target App, and calculate the position by pagex20+position within current page.
Is it possible?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,目前可以使用curl或wget来模仿iTunes用户代理和应用程序商店页面请求消息(可以使用wireshark之类的东西来确定)来逐页抓取应用程序商店。结果是嵌入了应用程序名称的 HTML/XML 大页面。将您找到应用程序的页面乘以 20,即可得出一直到排名最底部的位置。如果您的应用程序排名大幅下降(不到一个小时?),这可能需要一段时间。
这不是官方 API,因此 Apple 确实会不时更改协议和结果格式(完全未经宣布且没有公开文档),而且对于不同版本的 iTunes 应用程序,许多内容也有所不同。
Yes, it is currently possible to scrape the App store page by page using curl or wget to imitate the iTunes user agent and App store page request messages (which can be determined using something like wireshark). The result is a large page of HTML/XML with app names embedded. Multiplying the page where you find your app * 20 will give a position all the way down to the very bottom of the rankings. This can take awhile if your app is way down in the rankings (a fraction of an hour?).
This is not an official API, and thus Apple does change both the protocol and the format of the results from time to time (completely unannounced and with no public documentation), as well as many things being different for different versions of their iTunes application.