Coaches By Country
This endpoint allows you to retrieve the coaches from a specific country.
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 every day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get coaches from a specific country_idhttps://futsal.sportdevs.com/coaches-by-country?country_id=eq.{country_id}
Query Parameters
- country_id integer
Default value:
eq.18
The id of the country
- 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
- country_id integer
The id of the country
Note: This is a Foreign Key to
countries.id
. - country_name text
The name of the country
- country_hash_image character varying
Possible values:
<= 64 characters
The hash image of the country
- coaches jsonb
The coaches
[
{
"country_id": 18,
"country_name": "Spain",
"country_hash_image": "ce344a418127968f2bd07ada86c8cf3808eea524c399a02c0c2c0ebbe0f5467c",
"coaches": [
{
"id": 5935,
"name": "Alvaro Martinez Castillo",
"hash_image": "9e490d312ed19a2a6f6d163b791215fce118d88234a7b8eb93bb7d237a21ce24"
},
{
"id": 5951,
"name": "Albert Canillas Alavés",
"hash_image": "35f51838ef30af5b99ea80bef80fdb974a43095f9840955ff030ea3ed14c2e05"
}
]
}
]