Get iOS Itunes App Store Id of an App Itself

Get iOS iTunes App Store ID of an app itself?

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

How to get Apple App IDs from given bundle ID?

This should work:

curl https://itunes.apple.com/lookup\?bundleId\=com.facebook.Facebook

In the results you should see things like:

  "trackViewUrl": "https:\/\/itunes.apple.com\/us\/app\/facebook\/id284882215?mt=8&uo=4",

"bundleId": "com.facebook.Facebook",

"trackId": 284882215,

Get itunes link for app before submitting

I ended up using - itms://itunes.apple.com/app/id?mt=8
This seems to be what I was looking for.

iOS: Is it possible to get iTunes app link from iOS application programmatically?

You may use this:

https://itunes.apple.com/lookup?id=<appid>

<appid> is id of app. Result of this is JSON with info about the app.

Can an app know what its url in the app store will be?

You can use your app ID to construct the URL. You can get the ID from the iTunesConnect page for the app, then construct the URL thus:

#define APP_ID 653451876

NSString* url = [NSString stringWithFormat: @"http://itunes.apple.com/us/app/cap-that!/id%d",APP_ID];

See there https://stackoverflow.com/a/12764735/877032

The country of the app in an Apple App Store

If you checked "Available in all territories" your app will be available in all App Stores around the world. Testing it manually is a rather cumbersome task due to caching and how switching the stores works on iPhones/iPads vs. iTunes.

Sample Image

In the iTunes app on your Mac/Windows machine you can simply switch the stores by clicking on the country flag icon in the bottom right. If your currently logged-in Apple ID is not valid with that store, you will get automatically logged out.

On your iPad/iPhone you have to have an Apple ID valid with the respective store. Sign out with your "old" Apple ID and then in with the new one. You will automatically get switched to the right store.

The easiest way to test if your app is available in different stores is via the web preview. (I'd use Chrome, so Safari doesn't instantly try to open iTunes for that):

Get your App Store link and simply change the store front code, e.g.:
https://itunes.apple.com/de/app/id529479190?mt=8 => German Store
https://itunes.apple.com/cn/app/id529479190?mt=8 => Chinese Store
https://itunes.apple.com/us/app/id529479190?mt=8 => US Store

(You can find all the storefront codes at the end of this page: https://affiliate.itunes.apple.com/resources/documentation/linking-to-the-itunes-music-store/)

Obtain Apple software id number before appstore submission (for Appirater)

To get your software id from Apple, log into iTunesConnect and go through the process of submitting your app. Essentially, perform every step except the binary upload. At that point, you'll have an Apple ID for your app, which you can use in Appirater.

You can always go back and change the app description text or keywords before you've uploaded the binary, so don't worry about being locked into anything (other than the SKU) when you go through this process.

-Arash

Open AppStore through button

Here. But I highly suggest you learn the basics of Swift!

UIApplication.sharedApplication().openURL(NSURL(string: "itms://itunes.apple.com/de/app/x-gift/id839686104?mt=8&uo=4")!)

If you wanna open the AppStore in Swift 5:

if let url = URL(string: "itms-apps://itunes.apple.com/app/id1629135515") {
UIApplication.shared.open(url)
}

iTunes api, lookup by bundle ID?

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

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

For example:

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

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



Related Topics



Leave a reply



Submit