获取应用本身的iOS iTunes App Store ID? [英] Get iOS iTunes App Store ID of an app itself?

查看:290
本文介绍了获取应用本身的iOS iTunes App Store ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iOS应用程序能否获取自身的iTunes链接?是否有API?

Could an iOS app get the iTunes link of itself? Is there an API for this?

推荐答案

以下是答案.

  1. 该应用程序请求 http://itunes.apple.com/lookup?bundleId = com.clickgamer.AngryBirds
  2. 在JSON响应中找到"version": "2.1.0""trackId": 343200656.
  1. The app requests http://itunes.apple.com/lookup?bundleId=com.clickgamer.AngryBirds
  2. Find the "version": "2.1.0" and "trackId": 343200656 in the JSON response.

警告:此API未记录,Apple可能会在不另行通知的情况下对其进行更改.

Warning: This API is undocumented, Apple could change it without notice.

参考:

[1] https://github.com/nicklockwood/iVersion/blob/master/iVersion/iVersion.m#L705
[2] https://stackoverflow.com/a/8841636/41948
[3] http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsLookup?id=343200656&mt=8
[4]

[1] https://github.com/nicklockwood/iVersion/blob/master/iVersion/iVersion.m#L705
[2] https://stackoverflow.com/a/8841636/41948
[3] http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsLookup?id=343200656&mt=8
[4] http://itunes.apple.com/WebObjects/MZStoreServices.woa/ws/wsSearch?term=+Angry+Birds&country=US&media=software&entity=softwareDeveloper&limit=6&genreId=&version=2&output=json&callback=jsonp1343116626493

这篇关于获取应用本身的iOS iTunes App Store ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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