GithubHelp home page GithubHelp logo

gstar's Introduction

#gstar


##Overview

I needed a quick and easy way to get the star ratings for any app that was available on the Google Play Store.

I have written this simple module in Python that enables any developer to do just that.

###Description

This is a simple python module that will help retrieve star ratings from the Google Play Store.

###TODO

  • Ability to retrieve the star ratings for multiple apps at once
  • Retrieve averaged star rating as well
  • Expand to retrieve other info (# of installs, current version, etc.)

###Install

  1. Clone this repository

    git clone https://github.com/justinjasmann/gstar.git
    
  2. Extract the distributable .tar

    cd dist/
    tar -xvf gstar-Google-Play-Scraper-0.1dev
    
  3. Run the installer

    cd gstar-Google-Play-Scraper-0.1dev
    python setup.py install
    

    Note: Depending on your environment, you may need to execute using sudo.

####Usage

Sample

from gstar import GStar

gstar = GStar()
star_ratings = gstar.star_rating("com.android.chrome")

print "Package: " + star_ratings.package
print "Five stars: " + star_ratings.five
print "Four stars: " + star_ratings.four
print "Three stars: " + star_ratings.three
print "Two stars: " + star_ratings.two
print "One star: " + star_ratings.one

...

# Output
Package: com.android.chrome
Five stars: 995,805
Four stars: 262,189
Three stars: 118,266
Two stars: 53,407
One star: 120,073

###Feedback

Any and all feedback is, of course, welcome.

If you've got suggestions/comments, feel free to send me an email. Otherwise, I look forward to your pull requests :D

Thanks for your time!

###Contact

Justin Jasmann | @JustinJasmann | [email protected]

gstar's People

Contributors

justinjasmann avatar

Stargazers

Avi sayen avatar

Watchers

James Cloos avatar

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.