Leagues

To obtain information about leagues

GET /leagues

Get all information about all leagues supported by Fanvibe:

$ curl http://fanvibe.com/api/leagues.xml
<?xml version="1.0" encoding="UTF-8"?>
<leagues>
  <league>
    <id>16</id>
    <id_string>/sport/soccer/league:9</id_string>
    <name>Premier League</name>
    <nick>PREM</nick>
  </league>
  <league>
    <id>2</id>
    <id_string>/sport/basketball/league:403878</id_string>
    <name>National Basketball Association</name>
    <nick>NBA</nick>
  </league>
  <league>
    <id>9</id>
    <id_string>/sport/basketball/league:7</id_string>
    <name>NCAA Basketball</name>
    <nick>NCAAB</nick>
  </league>
  <league>
    <id>6</id>
    <id_string>/sport/hockey/league:1</id_string>
    <name>National Hockey League</name>
    <nick>NHL</nick>
  </league>
  <league>
    <id>5</id>
    <id_string>/sport/football/league:1</id_string>
    <name>National Football League</name>
    <nick>NFL</nick>
  </league>
  <league>
    <id>1</id>
    <id_string>/sport/football/league:2</id_string>
    <name>NCAA Football</name>
    <nick>NCAAF</nick>
  </league>
  <league>
    <id>4</id>
    <id_string>/sport/baseball/league:1219</id_string>
    <name>Major League Baseball</name>
    <nick>MLB</nick>
  </league>
</leagues>