通过 API 搜索 Apple Appstore 名称?
是否可以通过 API 按标题搜索应用程序?例如,相当于“返回标题中包含“狗”一词的应用程序列表(如果有)”。
我见过两个接近的接入点,但似乎没有提供此功能:
RSS 提要;它列出了应用程序,但显然只进行了分组,例如“前 100 名...”
查询界面;但它似乎没有查询应用程序媒体类型。 (?)
Is it possible to do a search for apps by title via the API? For example, the equivalent of "Return a list of apps (if any) with the word 'dog' in the title".
I've seen two access points that come close, but don't seem to offer this:
The RSS feed; it lists apps, but apparently only groupings like, "top 100..."
The query interface; but it doesn't seem to query over the app media type. (?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我找到了答案。尽管没有明确记录,但可以按应用程序名称进行搜索。
http://www.apple.com/itunes/附属机构/资源/文档/itunes-store-web-service-search-api.html
I found the answer. Although not explicitly documented, it's possible to search by app name.
http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
你是对的,iTunes 页面上根本就不是很清楚。参数entity=software是关键。例如,这是对我的应用程序 TypeLink 的搜索:
http:// /itunes.apple.com/search?entity=software&term=typelink&callback=myCallbackFunction
如果您想知道回调的用途,这里有一些有关它使用的 JSONP 格式的更多信息:
http://en.wikipedia.org/wiki/JSONP
You're right, it wasn't very clear on that iTunes page at all. The parameter entity=software is the key. For example, here's a search for my app, TypeLink:
http://itunes.apple.com/search?entity=software&term=typelink&callback=myCallbackFunction
If you're wondering what the callback is for, here's some more info on the JSONP format it uses:
http://en.wikipedia.org/wiki/JSONP
对于任何想要直接从网络链接链接到 App Store 关键字搜索结果页面的人 - 此格式自 2013 年 4 月起生效:
http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search? media=software&submit=media&term=KEYWORD%20GOES%20HERE
是一个需要弄清楚的 PITA,但最终得到了正确的语法...需要这个,因为客户有多个开发人员制作的应用程序,所以我不能只使用建议的 Appstore.com/DeveloperName 链接来返回他们的所有应用程序。
感谢大家分享智慧。希望这对某人有帮助。
For any future person who wants to link to the App Store keyword search result page directly from a web link - this format works as of April 2013:
http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&submit=media&term=KEYWORD%20GOES%20HERE
Was a PITA to figure out but finally got the syntax right... Needed this because a client has apps made by multiple developers so I couldn't just use the suggested Appstore.com/DeveloperName link to return all their apps.
Thanks all for sharing wisdom. Hope this helps someone.