Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

GooglePlayer

Ruby gem for fetching app info and reviews from Google Play.

Dependencies

  • Nokogiri

Installation

Add this line to your application's Gemfile:

gem 'google-player'

And then execute:

$ bundle

Or install it yourself as:

$ gem install google-player

Usage

gp=GooglePlay.new# Appapp=gp.app('your.app.id')putsapp.nameputsapp.image_urlputsapp.developerputsapp.developer_mailputsapp.developer_webputsapp.categoryputsapp.rating_countputsapp.rating_countsputsapp.rating_averageputsapp.descriptionputsapp.recent_changeputsapp.last_updateputsapp.file_sizeputsapp.downloadsputsapp.versionputsapp.os_requried# Reviewreviews=gp.reviews('your.app.id')reviews=gp.reviews('your.app.id',page: 0)reviews=gp.reviews('your.app.id'){ |r| (Date.today - r.date) < 7}reviews=gp.reviews('your.app.id',sort_order: :rating){ |r| r.rating == 5}reviews.eachdo |review|
putsreview.idputsreview.userputsreview.user_idputsreview.titleputsreview.textputsreview.dateputsreview.ratingend

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Ruby gem for fetching app info and reviews from Google Play.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors