##Preview
Display your iOS App Rating info. It uses iTunes Store website as the source.
##Usage
To use this widget, copy appstore.html
, appstore.coffee
, and appstore.scss
into the /widgets/appstore
directory. Put the app_store.rb
file in your /jobs
folder.
You'll also need the Apple logo. Download it, and put it in your /assets/images
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="app_store_rating" data-view="Appstore" data-title="iOS Shooping App"></div>
</li>
##Settings
You'll need to set the URL path to your application on the iTunes Store website in the app_store.rb.
appPageUrl = '/gb/app/asos/id457876088' # ASOS Shopping App ID
Rating is fetched every 30 minutes, but you can change that by editing the job schedule.
It doesn't work for me.
In application.js file, these variables are undefined :
var all_versions, last_version, rating, voters_count, widget;
in the onData() method.