如何使用 Appstore API 获取 top100 列表?构建应用商店应用程序网站的常见架构是什么? [英] How can I use Appstore API to get top100 list? What is the common architecture to build a appstore application website?

查看:49
本文介绍了如何使用 Appstore API 获取 top100 列表?构建应用商店应用程序网站的常见架构是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 我找到了一个应用商店搜索 API 的 PDF 文件,我可以使用一些参数来获取应用程序的详细信息.(对不起,我忘记了下载 url,但我在 stackoverflow 中找到了)
    但是有很多网站会向您显示Top100列表(例如appshopper.com),例如Mobclix.com也为您提供排名信息.他们怎么能做到这一点?我在 PDF 文件中没有找到相关的 API.
    我还找到了 ABTO 的 Appstore API(http://www.abtollc.com/AppStoreAPI.aspx),但我真的很想自己做.

  2. 如果我清除了第一个问题,那么我想知道基于应用商店数据构建网站的通用架构.我是否需要一个数据库来缓存应用商店的数据,并创建一个批处理来频繁地获取数据,每小时执行一次?我觉得每个用户请求都访问appstore可能不太聪明,可能appstore有访问限制?

感谢您的帮助!

解决方案

您可以使用以下链接生成一个 url,用于查询 iTunes 数据,例如特定类别中的前 100 个应用程序.

http://itunes.apple.com/rss/generator/

对于前 100 个免费生产力应用程序,生成的 url 是

http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/topfreeapplications/sf=143441/limit=100/genre=6007/xml

您链接到的 PDF 很旧,并且已经有很长一段时间没有更新了,但即使您确实可以使用它,它也没有前 100"选项(据我所知).

  1. I've found a PDF file of Appstore search API, that I can use some parameters to fetch an application's detail information.(sorry I forgot the download url, but I found it in stackoverflow)
    But there are so many sites that show you a Top100 list(like appshopper.com), and such as Mobclix.com also provide you the rank information.How can they do that? I didn't find the related API in the PDF file.
    I also found an Appstore API by ABTO(http://www.abtollc.com/AppStoreAPI.aspx), but I really wanna do it by myself.

  2. If I clear the 1st question, then I'd like to know the common architecture of building a website based on the appstore data. Do I need a database to cache the appstore's data, and create a batch to fetch the data frequently, execute like once per hour? I think it might not be clever to access the appstore for every user request, and may be there is a access limit of appstore?

Thanks for your help!

解决方案

You can use the following link to generate a url for querying iTunes Data for things like the top 100 apps in a particular category.

http://itunes.apple.com/rss/generator/

For the top 100 free productivity apps the generated url is

http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/topfreeapplications/sf=143441/limit=100/genre=6007/xml

The PDF that you link to is very old and hasn't been updated in quite some time, but even if you did get that working, it doesn't have "Top 100" selections (to my knowledge).

这篇关于如何使用 Appstore API 获取 top100 列表?构建应用商店应用程序网站的常见架构是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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