Referees By Country
This endpoint allows you to retrieve the referees 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 referees from a specific country_idhttps://football.sportdevs.com/referees-by-country?country_id=eq.{country_id}
Query Parameters
- country_id integer
Default value:
eq.1
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
- referees jsonb
The referees
[
{
"country_id": 1,
"country_name": "Canada",
"country_hash_image": "4b650e5c4785025dee7bd65e3c5c527356717d7a1c0bfef5b4ada8ca1e9cbe17",
"referees": [
{
"id": 116,
"name": "Drew Fischer",
"hash_image": "6ccc0b3c158a3fe0eb6cb32256319e1c07175fed4e9f917ea8ee877fe6b498c1"
},
{
"id": 502,
"name": "Carly Shaw MacLaren",
"hash_image": "194a1a36e89e466a8f3fd81a1fb0a10484c0bd2955e10347b4a6d9b9de093e95"
},
{
"id": 1325,
"name": "David Gantar",
"hash_image": "cbab91549f611533269ab9806e3157d2c1314d97ee6513bb8bcc8b99e2a8e7b6"
},
{
"id": 1393,
"name": "Petrescu Silvio",
"hash_image": "5724021474b23bc42b71169f7c276d8f8e8c7a257059bc6e8abf197a2421fc63"
},
{
"id": 2625,
"name": "Mathieu Bourdeau",
"hash_image": "b17a1a21493c5fca5fdb211764899116e30b2e8bd2230a8a1780e77f3bcb5c03"
},
{
"id": 2701,
"name": "Myriam Marcotte",
"hash_image": "a506101e5fa1034b13134e8cc4861e469018383d7c12ea7deb5a95e6caaaac5b"
},
{
"id": 2959,
"name": "Silviu Petrescu",
"hash_image": "d600f0ce0c12f0d384d7bab87ed68717f4e0617d0b974d7824b2fb61880d3a53"
},
{
"id": 2963,
"name": "Mathieu Souare",
"hash_image": "3dc80770437350987855cb79d45ccf1832231f5dfe75d07652511efa47f22246"
},
{
"id": 3571,
"name": "Chenard Carol Anne",
"hash_image": "5d82a6e268f7a7ad7507169ef8649cefdddafc66e6265e587974ddd1e3e0f8fb"
},
{
"id": 4038,
"name": "Geoff Gamble",
"hash_image": "e2da7d5f4d17ee476988bb27165e9661ee5f4920d54f238bb484fd9fa3a83dfe"
},
{
"id": 5056,
"name": "Marie-Soleil Beaudoin",
"hash_image": "5523844b6b9c97b2922bbc704ca953d9e785a7f006b0c842f2f3f842d4493fbd"
}
]
}
]