Runkeeper

## Integration with runkeeper
You need to
* Create account in [Runkeeper](http://runkeeper.com/)
* Have to register ruby5k as app in [Runkeeper Partner Portal](http://runkeeper.com/partner)
* While registering app choose 
** Category as Activity Tracking
** Check Read Health Information
** Check Retain Health Information
* Note down CLIENT_ID and CLIENT_SECRET
* Create two environment variable RUNKEEPER_CLIENT_ID and RUNKEEPER_CLIENT_SECRET and assign values from above

Once that is done you can visit Users profile page in ruby5k which will have Link to Runkeeper link for associating ruby5k and runkeeper accounts

I have also done a Sidekiq Job for scanning Users activity feeds in Runkeeper and updating Entry table in ruby5k

So in Heroku you need to
* Add the required environment variable
* Add sidekiq and redis
* [Schedule the job](https://devcenter.heroku.com/articles/scheduler)

Looks like you may incur cost for running scheduler (see the above link). 

Let me know if you need more clarifications or help.