Ruby gem which can retrieve race data from USA Cycling
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitattributes
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
kit.gemspec

README.md

Kit

Uniform and slim-fitting representation of USA Cycling race result tables.

Installation

gem install usac-kit

Usage

client = Kit::Client.new
usac_license_number = 358927
member = client.find(usac_license_number)

member.races # all races in which this member participated
most_recent = member.races.first

# Data available for each race
most_recent.member_name #=> "Kyle Russ"
most_recent.name #=> "2017 Illinois State Cyclocross Championships"
most_recent.result #=> "6 / 41"
most_recent.date #=> #<Date: 2017-12-03 ((2458091j,0s,0n),+0s,2299161j)>
most_recent.team_name # => "Brazen Dropouts Cycling Team"