Skip to content

aroth/nike_plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Ruby library for accessing Nike+ data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages