[ANN] nba gem 0.0.2

nba gem 0.0.2 has been released!

nba is a Ruby library for retrieving NBA League players, teams and
divisions.

This gem is inspired by @sferik’s mlb
gem
, take a look if you are a baseball
fan.

Installation

gem install nba

Usage Examples

$ irb
>> require 'nba'
>> NBA::Team.all.first.name                    # => "Atlanta Hawks"
>> NBA::Team.all.first.division                # => "Southeast

Division"
>> NBA::Team.all.first.founded # => 1946
>> NBA::Team.all.first.players.first.name # => “Al Horford”
>> NBA::Team.all.first.players.first.number # => 15

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs