Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
API client for Runkeeper (http://runkeeper.com)
Ruby
Branch: master
Failed to load latest commit information.
bin Initial commit
lib Version bump
.dev Initial commit
.gitignore Initial commit
.rvmrc Initial commit
Gemfile Initial commit
README.markdown syntax error in example
Rakefile Initial commit
runkeeper.gemspec Initial commit

README.markdown

Runkeeper API Client

Work in progress - accepting patches

Example

user = Runkeeper.new("user token")
puts user.name
activity = user.new_activity(:duration => 60, :type => "Swimming", :distance => 1000)
activity.save
puts user.activity_url(activity)

Generating a token

$ gem install launchy rack
$ CLIENT_ID="your client id" CLIENT_SECRET="your secret" AUTHORIZATION_URL="https://runkeeper.com/apps/authorize" ACCESS_TOKEN_URL="https://runkeeper.com/apps/token" token_generator
Use your browser to allow access
Then check your console for the token
Something went wrong with that request. Please try again.