gcerquant/UpdateKit.com — Issue #3: Use Apple API to get info about an app
Author: gcerquant
Created: 2012-02-10 11:47:24+00:00
State: open

Currently, the version number is parsed from iTunes public web page.
Apple provides an API that returns everything in JSON format.
Let's use this API.

Search example by id:
`http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/wa/wsLookup?id=359435914`

Search example by bundleId:
`http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/wa/wsLookup?bundleId=com.macmation.tictacboo`

This allows us to simplify the setup process, as we don't need to ask the developer the AppleId: we can get it in the JSON return, under the key `trackId`.