Nike+ widget for Dashing, ported from @danillotuhumury's work. It displays your last activity data (NikeFuel points, calories, distance and duration). All of the previously mentioned options are shown in a slideshow. Examples of the widget can be viewed below. Ported from @danillotuhumury's work
$ dashing-js install https://github.com/fabiocaseri/nikeplus-dashing-js-widget/archive/master.zip
To actually use the widget on your own Dashboard, you'll have to request an Access Token from Nike+ (Nike didn't release the OAuth API yet.). With this Access Token you'll be able to retrieve data from you Nike+ account.
To include the widget on your 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="nikeplus" data-view="Nikeplus"></div>
</li>
On to the next part, rename the file jobs/nikeplus_access_token.js.sample
in jobs/nikeplus_access_token.js
and enter the Access Token:
// You Nike+ access token
var access_token = 'YOUR_ACCESS_TOKEN_HERE';