Last active
September 16, 2016 19:26
-
-
Save czechboy0/f20c8efdbfe1699e79cf552a9d640cff to your computer and use it in GitHub Desktop.
Fetch iTunes App reviews
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# you find the app id of an app by calling the following API and parse the JSON | |
QUERY="swiftkey" | |
curl -X "GET" "https://itunes.apple.com/search?term=$QUERY&country=us&entity=software" | |
# this is how you fetch the page 3 of the app with ID 911813648 (SwiftKey) | |
# you'd probably want to write a script and start fetching from page 1 up until you get 404 back | |
PAGE=3 | |
APPID=911813648 | |
curl -X "GET" "https://itunes.apple.com/us/rss/customerreviews/page=$PAGE/id=$APPID/sortby=mostrecent/json?urlDesc=%2Fcustomerreviews%2Fid%3D$APPID%2FsortBy%3DmostRecent%2Fjson" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment