Ruby library for accessing Nike+ data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
LICENSE.txt
README.md
README.rdoc
Rakefile
VERSION

README.md

NikePlus

A Ruby library for accessing Nike+ data.

Installation

gem install nike_plus

Documentation

http://rdoc.info/gems/nike_plus

Usage Example

nike = NikePlus::Client.new( :email => 'test@nikeplus.com', :password => 'mypassword' )

list = nike.activities

list.each do |summary|
  activity = nike.activity( summary.activityId )

  puts "name      : #{ activity.name }"
  puts "distance  : #{ activity.miles } miles"
  puts "pace      : #{ activity.mpm } min/mile"
  puts "waypoints : #{ activity.geo.waypoints.size } points" if activity.geo.waypoints.any?
end

Contributing

In the spirit of free software, everyone is encouraged to help improve this project.

Here are some ways you can contribute:

  • by using alpha, beta, and prerelease versions
  • by reporting bugs
  • by suggesting new features
  • by writing or editing documentation
  • by writing specifications
  • by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
  • by refactoring code
  • by fixing issues
  • by reviewing patches

Copyright

Copyright (c) 2012 Adam Roth See LICENSE for details.