GETAll coaches
All coaches, or the coaches of a country. Paginated, 100 items per page.
/v2.2/coaches/ with t=list
Try it in the interactive referenceAll Coaches operations
Request
GET /v2.2/coaches/?user=USER&token=TOKEN&t=list&country_id=25- Paginated: 100 items per page; read
meta.pagesand request the next pages withpage. - Every request needs the
userandtokenquery parameters of the account.
Parameters
| Name | Required | Description | Example |
|---|---|---|---|
country_id | no | Country ID. | 25 |
page | no | Page number on paginated operations, starting at 1. The response reports meta.page and meta.pages; a page beyond the last returns an empty data. | 1 |
Example response
{
"data": [
{
"id": 3,
"team_id": 2217,
"name": "Roger Machado",
"common_name": "Machado",
"firstname": "Roger",
"lastname": "Machado",
"birthday": "1975-04-25",
"birthcountry": null,
"birthplace": null,
"img": "https://cdn.soccersapi.com/images/soccer/coaches/50/3.png",
"country": {
"id": 25,
"name": "Brazil",
"cc": "br"
}
},
{
"id": 19,
"team_id": 3244,
"name": "Tiago Nunes",
"common_name": "Nunes",
"firstname": "Tiago",
"lastname": "Nunes",
"birthday": "1980-02-15",
"birthcountry": null,
"birthplace": null,
"img": "https://cdn.soccersapi.com/images/soccer/coaches/50/19.png",
"country": {
"id": 25,
"name": "Brazil",
"cc": "br"
}
}
],
"meta": {
"requests_left": 2950,
"user": "your_username",
"plan": "Soccer API 50",
"page": 1,
"pages": 3,
"count": 100,
"total": 211,
"msg": ""
}
}