GET franchises/:id

Description

Returns the details of a single franchise, including a list of the years in which the franchise has been in operation.

Resource URL

http://clutchwin.com/api/v1/franchises/:id.json

Parameters

Field Default Description

id

required
The id of the franchise.

Example Requests

Show the details for the Colorodo Rockies.

GET

http://clutchwin.com/api/v1/franchises/COL.json?access_token=[token]

Response:

{
  "franchise_abbr": "COL",
  "league": "NL",
  "division": "W",
  "location": "Colorado",
  "name": "Rockies",
  "alternate_name": null,
  "first_game_dt": "1993-04-05",
  "last_game_dt": null,
  "city": "Denver",
  "state": "CO",
  "mlb_abbr": "COL",
  "park_code": "DEN02",
  "franchise_years": [
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "1993",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "1994",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "1995",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "1996",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "1997",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "1998",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "1999",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2000",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2001",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2002",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2003",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2004",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2005",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2006",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2007",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2008",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2009",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2010",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2011",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2012",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2013",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    },
    {
      "franchise_abbr": "COL",
      "team_abbr": "COL",
      "season": "2014",
      "league": "NL",
      "division": "W",
      "location": "Colorado",
      "name": "Rockies",
      "alternate_name": null,
      "first_game_dt": "1993-04-05",
      "last_game_dt": null,
      "city": "Denver",
      "state": "CO"
    }
  ]
}
              

Resource Information

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