A Ruby library for accessing Nike+ data.
gem install nike_plus
http://rdoc.info/gems/nike_plus
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
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 (c) 2012 Adam Roth See LICENSE for details.