Api V.2.0.0 © 2014 ChelseaStats
All services are accessed from the following HTTP endpoint
JSON(P) only. CORS is enabled.
Each response comes with an appropriate HTTP status code (except for JSONP requests). These include `200` for success, `400` for bad request, `404` for not found and `500` for server error. The HTTP status code is also included in the response body along with a status message.
This api does not require any authentication
To check for errors, simply examine the HTTP response code. `200` response indicates success while any other code will provide important information about why an error occured.
Alternatively you can examine HTTP Status code in the `status` property in the result body.
All JSONP requests return `200` responses because of the silent error problem, so you need use the latter method to check for errors.
|Team||Team. All current teams Chelsea have faced. (ALL = 0) |
Teams are recorded as their full name with underscores replacing spaced for example `MANCHESTER_CITY`
|Location||Location. Shows the location of the match, Home (H), Away (A) or Neutral (N). (ALL = 0)|
|Result||Result. Shows the outcome of the match, Win (W), Draw (D), Loss (L). (ALL = 0) |
In cup competitions where games are level at the end of Extra Time and are settled on penalties are recorded as draws.
|Limit||Limit. restricts the data return upto |
Returns all teams available
Look up a team. Returns all available data if found
Returns `:n` most recent results against `:team`
returns all locations available
Look up a location. Returns all available data if found
returns `:n` most recent results at `:location`
returns all results availble
Look up a result. Returns all available data if found
returns `:n` most recent results `:result`