Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get iOS iTunes App Store ID of an app itself? [closed]

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

like image 261
est Avatar asked Mar 15 '12 09:03

est


People also ask

How do I find my iTunes app ID?

You can find this in the app's Play Store URL after 'id'. For example, in https://play.google.com/store/apps/details?id=com.company.appname the identifier would be com.

How do I find an app that is no longer in the App Store?

First, fire up the App Store, then tap on the account icon in the top right corner. From there, tap on “Purchased.” To see all the apps that aren't already on your phone or iPad (which is the likely scenario if you're trying to pull something that's no longer in the App Store), tap on “Not on this iPhone/iPad.”

How do I get the App Store to stop asking me for my Apple ID?

To change this, go back to Settings, tap "Face ID & Passcode" or "Touch ID & Passcode", then turn off Face ID or Touch ID next to iTunes & App Store.


2 Answers

Here is the answer.

  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.

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

References:

[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

like image 182
est Avatar answered Sep 28 '22 12:09

est


You way use iTunes Search API to look up your and other apps on the App Store.

Docs: http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html

Example: http://itunes.apple.com/search?media=software&country=us&term=raining%20weather

iTunes may return more then one result, but you can filter results by bundleId. trackViewUrl will contain iTunes URL to your app. trackId will contain app's ID.

like image 31
Aleksejs Mjaliks Avatar answered Sep 28 '22 11:09

Aleksejs Mjaliks