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://american-football.sportdevs.com/coaches-by-country?country_id=eq.{country_id}
Query Parameters
- country_id integer
Default value:
eq.2
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": 2,
"country_name": "USA",
"country_hash_image": "9b202ecbc6d45c6d8901d989a918878397a3eb9d00e8f48022fc051b19d21a1d",
"coaches": [
{
"id": 5830,
"name": "David Culley",
"hash_image": "8c7f4ee653d9c823391856ed6249e8bf75177079c69862f8b67f4b333ba2e701"
},
{
"id": 5833,
"name": "Urban Meyer",
"hash_image": "802b10c942de24e7eb7e3e609b2921e8ab4ec45e832a80480499684260cc8d0b"
},
{
"id": 5835,
"name": "Robert Saleh",
"hash_image": "f0f35ea5ef7f668997e57dcfae795552e266c043321579055d811fba7bb51685"
},
{
"id": 5841,
"name": "Brandon Staley",
"hash_image": "6bc39bbbd825824c1e30070dab49c44a9ed26ad80af998c5ff86a24b0853d7ff"
},
{
"id": 5846,
"name": "Nick Sirianni",
"hash_image": "6fa722ce9c0ec6a00ce091608bc084651a93dc53f439c1003ddf8e9209461ab0"
},
{
"id": 5850,
"name": "Todd Bowles",
"hash_image": "b4e9f42dd8de77a127da37e720f5431e485b830e3c6c05abb4556bb1baaacb47"
},
{
"id": 5851,
"name": "Arthur Smith",
"hash_image": "f9149c3ab6ee30a00fd0c11dec2ae103dc2f7b3ea7df6816a9e6773ce1937f9f"
},
{
"id": 5861,
"name": "Brian Daboll",
"hash_image": "c64325755dc9f3db399f99b66cbdb2a6e73a6fcb886a6b19efbc7e0319e093c6"
},
{
"id": 5863,
"name": "Dan Campbell",
"hash_image": "f40fa4e3af1dce791e0c235a1fbb34526c03e26d1c5f14cf8fcccc6aa5cad06f"
},
{
"id": 5931,
"name": "Ryan Day",
"hash_image": "2324a705a27196793444c2a7991a0a330064b65787bc36497b1688bcd57352d8"
},
{
"id": 5950,
"name": "Jamey Chadwell",
"hash_image": "b97266ba0315bfd68964c0a8d504385e555d9badcfef2f2ac6461d62116078a5"
},
{
"id": 5976,
"name": "Michael Wilson London",
"hash_image": "d78011b51ee7bb92ac3c2e301a76d7f311ae54ff896566448eb319e6672dc533"
}
]
}
]