Giter Club home page Giter Club logo

google_play_reviews's Introduction

GooglePlayReviews

Fetch App reviews from Google Play.

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'google_play_reviews'

And then execute:

$ bundle

Or install it yourself as:

$ gem install google_play_reviews

Usage

Console command:

google_play_reviews [options] APP_ID
    -l, --host-language [VALUE]      Host language: use 'en' as default
    -s, --sort-order [VALUE]         Sort order: 'newest'(default), 'rating' or 'helpfulness'
    -p, --page [VALUE]               Page number (start from 0)
    -v, --version                    Display the current version

For example:

$ google_play_reviews -l ja -s helpfulness -p 2 com.google.android.googlequicksearchbox
------------------------------
review_id: gp:AOqpTOH34XsWVlMNiEIo7jarmgFNXbcyMz46Q5zgPaPvhrynruzQ-l98_3lOp10xMSJdkQxgK59F427eGnjCNA
author_name: ウルフハウンド
author_url: https://play.google.com/store/people/details?id=103315480914346702702
author_image_url: https://lh3.googleusercontent.com/uFp_tsTJboUY7kue5XAsGA=w48-c-h48
review_body: おかしい ブクマしたラベルに名前がつかない。編集でなんどつけても消える
rating: 2
review_date_string: 2015年3月4日
review_url: https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox&reviewId=Z3A6QU9xcFRPSDM0WHNXVmxNTmlFSW83amFybWdGTlhiY3lNejQ2UTV6Z1BhUHZocnlucnV6US1sOThfM2xPcDEweE1TSmRrUXhnSzU5RjQyN2VHbmpDTkE
------------------------------
review_id: gp:AOqpTOFNTB4yhD3mw8mXSu6KBhFofPHrYhI2yoEWfuQTalPKG-4JO_5ZSnYW2nE3jJS7t0RtU1pzrsgwpnzVsQ
author_name: 西上香奈
author_url: https://play.google.com/store/people/details?id=116289340209306231792
author_image_url: https://lh3.googleusercontent.com/uFp_tsTJboUY7kue5XAsGA=w48-c-h48
review_body: 何これ⁉ ググれないじゃん!早く直してよ!
rating: 1
review_date_string: 2015年3月6日
review_url: https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox&reviewId=Z3A6QU9xcFRPRk5UQjR5aEQzbXc4bVhTdTZLQmhGb2ZQSHJZaEkyeW9FV2Z1UVRhbFBLRy00Sk9fNVpTbllXMm5FM2pKUzd0MFJ0VTFwenJzZ3dwbnpWc1E
------------------------------
...

Or use it in ruby projects:

GooglePlayReviews.fetch(app_id, options)
# Options:
#   :sort_order (:newest, :rating, :helpfulness)
#   :page (start from 0)

This will return the review entries. See lib/google_play_reviews/entry.rb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.