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

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

问题描述

能否iOS应用获取自身的iTunes的链接?是否有文件或无证的API呢?

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

推荐答案

下面就是答案。


  1. 的应用程序请求<一个href=\"http://itunes.apple.com/lookup?bundleId=com.clickgamer.AngryBirds\">http://itunes.apple.com/lookup?bundleId=com.clickgamer.AngryBirds

  2. 找到的版本:2.1.0的TrackID:343200656 中的JSON响应

  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无证,苹果可能会改变,恕不另行通知。

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

参考文献:

[1] <一个href=\"https://github.com/nicklockwood/iVersion/blob/master/iVersion/iVersion.m#L705\">https://github.com/nicklockwood/iVersion/blob/master/iVersion/iVersion.m#L705

[2] http://stackoverflow.com/a/8841636/41948 结果
[3] <一个href=\"http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsLookup?id=343200656&mt=8\">http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsLookup?id=343200656&mt=8

[4] <一个href=\"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\">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

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

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