Dashing widget & job to display a whole lot of Google Play app statistics.
The widget is fully customizable to display only the information needed and is based on the list widget. It extends the base list by another value, making possible to display 2 values for each app beside its name.
A Dashing job fetches statistics for a given array of apps and uses the wonderful Market Bot to parse the Google Play page.
##Usage
You'll need the gem market_bot
so add gem 'market_bot'
to your Gemfile
and run bundle install
from terminal.
The files listthree.coffee
, listthree.html
and listthree.scss
go in the /widget/listthree
directory.
The google_play.rb
goes into the /jobs
directory.
Add following code to your dashingboard.erb file to make the app stats list show up on your dashboard:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="google_play_stats" data-view="Listthree" data-prefix="Ø" data-title="Stats"></div>
</li>
##Settings (jobs.rb
)
Because the job is so simple there are actually just two settings to look for: The array appIds
which holds all the app names you wanna get statistics for and the stats.push(...)
command which handles what values are send to the dashboards. Market Bot supports these attributes:
:title, :rating, :updated, :current_version, :requires_android,
:category, :installs, :size, :price, :content_rating, :description,
:votes, :developer, :more_from_developer, :users_also_installed,
:related, :banner_icon_url, :banner_image_url, :website_url, :email,
:youtube_video_ids, :screenshot_urls, :whats_new, :permissions,
:rating_distribution, :html