Checking iTunes app reviews

Ken Tran
2 min readApr 5, 2017

--

A json reader using json and requests modules to print reviews of an iOS app in a particular country where rating is 3 or less. Plenty of people have done this already, I just wanted to look under the hood a little.

This prints reviews across countries at one go, saving me time and clicks navigating through iTunesConnect. Definitely can add more filtering options esp. by date, so that I can action upon spotting a recent, negative review.

Fun idea: based on existing reviews, predict a rating of a new review (relying on words classified as positive, negative or neutral — features, then nearest neighbors?).

Super helpful note on available iTunes web services.

Better and more comprehensive solution (and free) launchkit.io/reviews/

import json, requests
def reviews(url):
res = requests.get(url)
print("Status:", res.status_code)
data = json.loads(res.text)
for i in data['feed']['entry']:
try:
rating = i.get("im:rating").get('label')
if int(rating)<=3:
print("BAD RATING: ", i.get("im:rating").get('label'), "\n", \
"REVIEW: ", i.get('content').get('label'), "\n")
except:
print('No entry')
print('END', "\n")

url_list = ['https://itunes.apple.com/sg/rss/customerreviews/id=482524585/json', \
'https://itunes.apple.com/my/rss/customerreviews/id=487538098/json', \
'https://itunes.apple.com/th/rss/customerreviews/id=487558434/json', \
'https://itunes.apple.com/id/rss/customerreviews/id=487554800/json']

for url in url_list:
reviews(url)

Sample output

Status: 200
No entry
BAD RATING: 1
REVIEW: App definitely solid!

Read before u buy from any housing agent! Price can be $xxxk now. After overwhelming responses, price will be like stock market!

Advertisement may seem nice, greenry unblock view, nicely renovated, move in condition! All are crap and just a motherhood statement!

Housing Evaluator don't look at how good is the unit, they have their own checklist to follow even your house renovation cost $1m!

Just to spread awareness to newbies who are downloading this app!

BAD RATING: 1
REVIEW: Whenever you switch an application and switched it back to the app, your search is gone and you had to key in the parameters again.

This is despite the fact that you had to create an account to save alerts but you can't save searches.
...

--

--