Simple example showing how to access the xmlstats API using Ruby
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.
.gitignore
LICENSE
README.md
config.rb
roster.rb

README.md

Ruby Example

A simple example that access the xmlstats API using Ruby. This example grabs a list of active NBA teams, makes a request for each team's roster, and prints.

Requirements

To run this program, you will need Ruby 2.x and an xmlstats account.

Getting Started

Clone the repository.

Configure

Specify your API access token and e-mail address in config.rb.

Run

ruby roster.rb