#Google Play Reviews Widget for Dashing.io
Dashing Widget for displaying Google Play Reviews of Android apps. Supports any number of apps, and any number of reviews per app. It shows fancy stars and its background color changes depending on the app's rating.
Don't miss the related Google Play Rating 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 ea33735d7142ef1261a4c858b1d0e487
(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_reviews.rb
to configure the list of application packages.
- Or do it all yourself: copy
play_reviews.html
,play_reviews.coffee
, andplay_reviews.scss
into the/widgets/play_reviews
directory. Put theplay_reviews.rb
file in your/jobs
folder. Copystar_empty.png
andstar_full.png
in/assets/images
folder. Editplay_reviews.rb
to configure the list of application packages.
Add gems to your Gemfile
:
gem 'market_bot', :git=>'https://github.com/imartinez/market_bot.git', :branch => 'enhance-reviews', :ref => 'e0d6f8c'
gem 'json'
gem 'activesupport'
And run bundle
to install these new gems.
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="reviews-1-com.first.app.package" data-view="PlayRatings" data-title="My App"></div>
</li>
-
Note 1: the data-id must be constructed as
reviews-<number_of_review>-<application_package>
. The<number_of_review>
is 1 for the latest review, 2 for the previous one and so on. -
Note 2: you must configure both the HTML data-id in your dashboard and the play_reviews.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
Did not work for me. I suspect that the data-view="PlayRatings" doesn't match the class PlayReviews