No commit activity in last 3 years
No release in over 3 years
google play market search gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.0
~> 1.22

Runtime

~> 1.5
 Project Readme

google_play_search is a Ruby gem that provides search functions in google play store.

Installation

$ gem install google_play_search

Or with Bundler in your Gemfile.

gem 'google_play_search'

Usage

# only 1.8.7 need this
require 'rubygems'

require 'google_play_search'

gps = GooglePlaySearch::Search.new

# it will return app arrary.
# default every page returns 50 apps
apps = gps.search("bird")

# you can see current_page (return page numer)
p gps.kewyword # "bird"

Configuring

gps = GooglePlaySearch::Search.new(:language=>"en", :category=>"apps",
                                   :price => 0, :rating => 1)
* `language`: search language. Default:en. (can be "en", "zh_CN", "ja", "ko", "fr")
* `category`: search category. Default:apps. (can be "apps","music","movies","books","magazines").
              some country don't support "music","movies","books","magazines" yet.
* `price`: app price. Default: "0" - All Price. Can be "1" - Free App. "2" -  need paid App.

Search Result

# default return 50 records
app_list = gps.search("bird")

app = app_list.first

# android app id (like "com.rovio.angrybirds")
app.id

# android app name (like "Angry Birds")
app.name

# android app url (like "https://play.google.com/store/apps/details?id=com.rovio.angrybirds")
app.url

# android app developer (like "Rovio Mobile Ltd.")
app.developer

# android app logo url (like
# "https://lh3.ggpht.com/6c2H-PDJk5Sax4WaIiTQgovdqvfNZZbtoQyktOgd_uW-Hh09idFdej14LPqalvVz9LA=w78-h78")
app.logo_url

# android app short description
# (like "Use the unique powers of the Angry Birds to destroy the greedy pigs' fortresses!
#  The survival of the Angry Birds is at stake. Dish out revenge on the greedy pigs who s...")
app.short_description

# android app average review rating (like 4.6)
# type is float
app.rating

# android app price (like "$2.99")
# type is string
app.price

Note

As google play site have access limit. So if you use this gem search app very often. Some times will return nothing.