GET parks

Description

Returns a list of all ballparks.

Resource URL

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

Parameters

Field Default Description

city

optional
Specifies the city in which the ballpark is located.

state

optional
Specifies the state in which the ballpark is located.

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

Return a list of all ballparks located in Boston.

GET

http://clutchwin.com/api/v1/parks.json?&city=boston&access_token=[token]

Response:

[
  {
    "park_code": "BOS02",
    "name": "Dartmouth Grounds",
    "aka": "Union Park",
    "city": "Boston",
    "state": "MA",
    "start_date": "1884-04-30",
    "end_date": "1884-09-24",
    "league": "UA",
    "notes": "BSU"
  },
  {
    "park_code": "BOS03",
    "name": "South End Grounds II",
    "aka": null,
    "city": "Boston",
    "state": "MA",
    "start_date": "1888-05-25",
    "end_date": "1894-05-15",
    "league": "NL",
    "notes": ""
  },
  {
    "park_code": "BOS04",
    "name": "Congress Street Grounds",
    "aka": null,
    "city": "Boston",
    "state": "MA",
    "start_date": "1890-04-19",
    "end_date": "1894-06-20",
    "league": null,
    "notes": "BSP:1890; BS2:1891; BSN:5/16 to 6/20/1894"
  },
  {
    "park_code": "BOS05",
    "name": "South End Grounds III",
    "aka": null,
    "city": "Boston",
    "state": "MA",
    "start_date": "1894-07-20",
    "end_date": "1914-08-11",
    "league": "NL",
    "notes": ""
  },
  {
    "park_code": "BOS06",
    "name": "Huntington Avenue Baseball Grounds",
    "aka": null,
    "city": "Boston",
    "state": "MA",
    "start_date": "1901-05-08",
    "end_date": "1911-10-07",
    "league": "AL",
    "notes": ""
  },
  {
    "park_code": "BOS07",
    "name": "Fenway Park",
    "aka": null,
    "city": "Boston",
    "state": "MA",
    "start_date": "1912-04-20",
    "end_date": null,
    "league": "AL",
    "notes": "BOS:1912-date; BSN:9/7to9/29/1914;4/14to7/26/15"
  },
  {
    "park_code": "BOS08",
    "name": "Braves Field",
    "aka": "Bee Hive",
    "city": "Boston",
    "state": "MA",
    "start_date": "1915-08-18",
    "end_date": "1952-09-21",
    "league": null,
    "notes": ""
  }
]
              

Resource Information

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