API to retrieve total iOS rating from app store?

后端 未结 2 864
隐瞒了意图╮
隐瞒了意图╮ 2021-01-21 04:56

I can retrieve recent iOS reviews like this:

fetch(`https://itunes.apple.com/${IOS_LANG_CODE}/rss/customerreviews/id=${IOS_ID}/sortBy=mostRecent/json`)
         


        
2条回答
  •  独厮守ぢ
    2021-01-21 05:40

    I think I might be very late to answer this but YES there is an absolutely free way to get the rating of the application. You can use

    http://itunes.apple.com/lookup?id=

    to get a JSON with all the basic info related to your application. The key that you are looking for is averageUserRating. This will return a Double value and indicate the exact current iOS Rating.

    To quickly check a sample, have a look at the details of the Amazon app(com.amazon.Amazon)
    https://itunes.apple.com/lookup?id=297606951

提交回复
热议问题