应用程序内购买数据的AppStore API

问题描述:

有没有什么办法可以请求App Store应用程序内购买数据我的 iOS应用程序?其原因在于内容是通过后端服务器添加的,我们希望避免必须填充重复内容,而不是直接从AppStore中提取内容。应用程序内购买数据的AppStore API

即:当我们创建iTunes Connect中一个新的应用程序内购买的内容,我们必须分配一个产品ID参考名称价格层。我们必须将相同的数据添加到我们的后端服务器,但我们只想添加产品ID,并通过API从App Store中提取其余的数据。

这可能吗?

如果我理解正确:

1)在你必须有产品ID最低。

2)然后可以创建一个:

SKProductsRequest *productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers]; //a set of id's 
productsRequest.delegate = self; //use SKProductsRequestDelegate 
[productsRequest start]; 

3)这将返回到你其中一个SKProductsResponse包含products属性,这是SKProducts

4阵列)从一个SKProduct那么你可以有机会获得:

localizedDescription 
localizedTitle 
price 
priceLocale 
productIdentifier 

SKProduct Reference

此外,它看起来像有人能够进入iTunes Connect API。但我没有看到任何有关IAP的in this example response。退房Fastlane on Github.

+0

嗯,我想我没有解释自己的权利。我需要这个,但是对于服务器端代码,比如JSON API或PHP/JS SDK –