iTunes api,通过捆绑 ID 查找? [英] iTunes api, lookup by bundle ID?

查看:30
本文介绍了iTunes api,通过捆绑 ID 查找?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以使用 iTunes API 根据唯一的应用程序 bundleId 查找信息?我有一个 iphone 应用程序,我想使用 API 来检查用户是否有最新版本.使用搜索很糟糕,因为它很模糊(可以返回很多结果).我宁愿不必遍历结果集以查找我的 bundleId..

Is there any way to use the iTunes API to lookup information based on the unique app bundleId? I have an iphone app, I want to use the API to check to see if the user has the newest version. Using the search sucks, cuz its fuzzy (can return lots of results). I'd prefer not to have to iterate over the result set looking for my bundleId..

我不是在寻找在设备端执行此操作的方法(不是目标 c).我想在我的服务器上制作服务器端代码,当/如果苹果进行 API 更改时隐藏.

I'm not looking for a way to do this on the device side (not objective c). I'd like to make server side code on my server that hides when/if apple makes API change.

推荐答案

Apple 已经更改了他们的 API,并从 URL 中删除了语言代码,因此您应该只为您的应用添加 bundleId寻找.例如:

Apple has changed their API, and removed the language code from the URL, so you should only the bundleId for the app you are looking for. For example:

http://itunes.apple.com/lookup?bundleId=com.yelp.yelpiphone

此外,您可以在查询中添加国家/地区参数,以获取特定国家/地区 App Store 的结果.

In addition, you can add the country parameter to the query, to get results for a specific country App Store.

例如:

http://itunes.apple.com/lookup?bundleId=com.yelp.yelpiphone&country=de

不同的 App Store 国家/地区之间的描述、用户评分和其他字段可能会有所不同.

The description, user rating and other fields might change between different App Store countries.

这篇关于iTunes api,通过捆绑 ID 查找?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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