RLovelett / sports_data_api

A Ruby interface to the Sports Data API. API supports NFL, MLB, NHL, and NBA.
http://developer.sportsdatallc.com/api_gallery
Other
26 stars 28 forks source link

Implement NFL Standings #17

Open RLovelett opened 11 years ago

RLovelett commented 11 years ago

Standings

Schema

Syntax: http://api.sportsdatallc.org/nfl-[access_level][version]/schema/standings-v1.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nfl-[access_level][version]/teams/[year]/[nfl_season]/standings.[format]?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[year] = yyyy

[nfl_season] = Preseason (PRE), Regular Season (REG), Postseason (PST)

[format] = xml

Feed Example