Search code examples
iphoneiosmobileitunes

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.


Solution

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