Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTunes api, lookup by bundle ID?

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..

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.

like image 336
rynop Avatar asked Jan 12 '12 17:01

rynop


People also ask

Is iTunes API free?

Price: The iTunes Search API is offered for free.

Is bundle ID visible in app store?

It will not be displayed in the app store.. Only the App ID will be displayed in the URL. And that will not change for a app. You can even have a different App name and Bundle Identifier..

What is iTunes API?

The Search API allows you to place search fields in your website to search for content within the iTunes Store, App Store, iBooks Store and Mac App Store. You can search for a variety of content; including apps, iBooks, movies, podcasts, music, music videos, audiobooks, and TV shows.


2 Answers

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.

like image 67
Roman Blachman Avatar answered Sep 20 '22 19:09

Roman Blachman


Turns out you can use the 'Apple ID' instead of the bundle ID as it is also unique per app. The 'Apple ID' maps to 'trackId' in http://itunes.apple.com/lookup service.

like image 34
rynop Avatar answered Sep 19 '22 19:09

rynop