#Google Play Rating Widget for Dashing.io
Dashing Widget for displaying current Google Play Ratings of Android apps. Supports any number of apps. It shows fancy stars and its background color changes depending on the app's rating.
Don't miss the related Google Play Reviews Widget for Dashing!
Attribution: Based on Android Google Play Dashing Widget.Thanks for your work x2on!
##Usage
To use this widget you have two options:
- Let Dashing do the hard work for you: run
dashing install a1c8ba1137465079720588f405c08461
(this will copy all files in place but the images).
Then copy star_empty.png
and star_full.png
in /assets/images
folder. Edit play_ratings.rb
to configure the list of application packages.
- Or do it all yourself: copy
play_ratings.html
,play_ratings.coffee
, andplay_ratings.scss
into the/widgets/play_ratings
directory. Put theplay_ratings.rb
file in your/jobs
folder. Copystar_empty.png
andstar_full.png
in/assets/images
folder. Editplay_ratings.rb
to configure the list of application packages.
Add gem 'market_bot', :git=>'https://github.com/imartinez/market_bot.git', :branch => 'enhance-reviews', :ref => 'e0d6f8c'
to your Gemfile
and run bundle
To include this widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="2" data-sizex="1" data-sizey="1">
<div data-id="com.first.app.package" data-view="PlayRatings" data-title="My App"></div>
</li>
Note: you must configure both the HTML data-id in your dashboard and the play_ratings.rb job with the proper application packages. Find your app's package as part as Google Play url. i.e. Chrome's Google Play url is https://play.google.com/store/apps/details?id=com.android.chrome then Chrome's application package is com.android.chrome