Question

My app contains a list of "related apps". I'm linking each app entry to the App Store so its easier for the user to download them.
To improve the user experience I want to show the price for each app entry, so the user doesn't have to enter the app store to find out the price.
I've found the class SKProductsRequest which allows to request product information from the App Store, but it seems that it can only be used for In-App Purchases not to retrieve the information of an app.

Can SKProductsRequest be used to retrieve information of an app?
If SKProductsRequest can't be used. ¿Can I retrieve the localized price for an app from the App Store?

Était-ce utile?

La solution

You can make a call to iTunes' Search API and you'll get the data you need.

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

For example here's how the get the details for the Yelp app by iTunes ID - https://itunes.apple.com/lookup?id=284910350

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top