GET seasons

Description

Returns a list of all seasons for which data is available.

Resource URL

http://clutchwin.com/api/v1/seasons.json

Parameters

Field Default Description

max_entries

optional
100 Number of entries to return per request.

start_index

optional
1 The index of the first entry to be returned (used for paging).

Example Requests

Show all year information for the past 10 years.

GET

http://clutchwin.com/api/v1/seasons.json?max_entries=10&access_token=[token]

Response:

[
  {
    "season": 2013,
    "has_events": "Y",
    "wild_card_team_count_per_league": 2,
    "regular_season_start_date": "2013-03-31",
    "regular_season_end_date": "2013-09-30"
  },
  {
    "season": 2012,
    "has_events": "Y",
    "wild_card_team_count_per_league": 2,
    "regular_season_start_date": "2012-03-28",
    "regular_season_end_date": "2012-10-03"
  },
  {
    "season": 2011,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2011-03-31",
    "regular_season_end_date": "2011-09-28"
  },
  {
    "season": 2010,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2010-04-04",
    "regular_season_end_date": "2010-10-03"
  },
  {
    "season": 2009,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2009-04-05",
    "regular_season_end_date": "2009-10-06"
  },
  {
    "season": 2008,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2008-03-25",
    "regular_season_end_date": "2008-09-30"
  },
  {
    "season": 2007,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2007-04-01",
    "regular_season_end_date": "2007-10-01"
  },
  {
    "season": 2006,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2006-04-02",
    "regular_season_end_date": "2006-10-01"
  },
  {
    "season": 2005,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2005-04-03",
    "regular_season_end_date": "2005-10-02"
  },
  {
    "season": 2004,
    "has_events": "Y",
    "wild_card_team_count_per_league": 1,
    "regular_season_start_date": "2004-03-30",
    "regular_season_end_date": "2004-10-03"
  }
]
              

Resource Information

Rate Limited? No
Requests per rate limit window N/A
Response Formats json, xml
HTTP Methods GET
Resource family seasons
API Version API v1.0