Project

peekapp

0.0
No commit activity in last 3 years
No release in over 3 years
Easily scrape the App Store to retrieve ratings & reviews.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0.7.9
>= 1.4.6
>= 1.4.4
 Project Readme

Retrieve reviews and ratings from the App Store.

Installation

gem install peekapp

How to

For advanced functionnalities you should read the source. Peekapp can only retrieve ratings & reviews from the Canadian App Store.

require "peekapp"

# Get the App
app = Peekapp::Apps::find 390574988 # App ID

# Get reviews for this App
app.reviews
# => [#<Review:0x102237a28 @data={
#       :title    => "Amazing",
#       :comment  => "Best Twitter app on the face of the planet!",
#       :username => "Thomas Gallagher",
#       :rating   => 5,
#       :user_id  => 33308895,
#       :version  => "2.0",
#       :date     => "9-Oct-2009",
#       :id       => Digest::SHA256.new("title + username")
#    }>, ...]

# And the ratings...
app.ratings
# => [#Rating:0x1029372a23 @data={
#      :current => { "1": 38, "2": 12, "3": 23, "4": 25, "5": 105 },
#      :all     => { "1": 2736, "2": 749, "3": 1045, "4": 1103, "5": 3880 },
#      :store_id => "143455-5,12"
#    }>, ...]

Warning

Since Peekapp is scraping the App Store, you might experience some problems if Apple change iTunes' html layout. I've made some tests and the App Store is updated every 20 minutes (ballpark). So don't waste your time trying to get real time ratings & reviews.

Todo

  • Create unit tests w/ FakeWeb
  • Allow international App Stores
  • iTunes Connect support