Documentation / Reference
Seasons
Seasons of a competition, newest first.
Free key and up A list: pages of 50, see paging
Parameters
| Name | In | Type | About |
|---|---|---|---|
competition | query | id | Only this competition, by its id (cp_…). e.g. cp_11A6HQXJ |
page | query | integer | Which page, from 1. |
cursor | query | string | The next_cursor from the last answer, to carry on. |
per_page | query | integer | Records an answer, from 1 to 200. 50 if left out. |
What comes back
data is a list of these:
| Field | Type | About |
|---|---|---|
id | id | A season id. |
name | string | |
start_year | integer | |
competition | object | |
competition.id | id | A competition id. |
competition.name | string | |
games | integer | |
first_date | date or null | |
last_date | date or null |
Errors
400422401403429 What each one means