Coaches Career
This endpoint allows you to retrieve the careers from coaches.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated several times a day.
Recommended Calls: Limit calls to 1 per hour.
Use Cases
Get career from a specific coach_idhttps://american-football.sportdevs.com/coaches-career?coach_id=eq.{coach_id}
Query Parameters
- coach_id integer
Default value:
eq.1
The id of the coach
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- coach_id integer
The id of the coach
Note: This is a Foreign Key to
coaches.id
. - careers jsonb
The career of the coach
[
{
"coach_id": 1,
"careers": [
{
"team_id": 3,
"team_name": "Molde FK",
"wins_matches": 4,
"draws_matches": 1,
"total_matches": 6,
"losses_matches": 1,
"team_hash_image": "f6e0f3d71578d695d2413de7bb8ff3edf10b7009cd6f5f1372f106d8ab6844e4",
"end_timestamp_team": "2019-04-28T00:00:00+00:00",
"start_timestamp_team": "2018-12-19T00:00:00+00:00",
"total_points_matches": 13
},
{
"team_id": 3,
"team_name": "Molde FK",
"wins_matches": 7,
"draws_matches": 4,
"total_matches": 15,
"losses_matches": 4,
"team_hash_image": "f6e0f3d71578d695d2413de7bb8ff3edf10b7009cd6f5f1372f106d8ab6844e4",
"end_timestamp_team": "2015-10-20T00:00:00+00:00",
"start_timestamp_team": "2015-08-07T00:00:00+00:00",
"total_points_matches": 25
},
{
"team_id": 3,
"team_name": "Molde FK",
"wins_matches": 137,
"draws_matches": 31,
"total_matches": 216,
"losses_matches": 48,
"team_hash_image": "f6e0f3d71578d695d2413de7bb8ff3edf10b7009cd6f5f1372f106d8ab6844e4",
"end_timestamp_team": "2024-12-31T00:00:00+00:00",
"start_timestamp_team": "2019-04-29T00:00:00+00:00",
"total_points_matches": 442
}
]
}
]