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://aussie-rules.sportdevs.com/referees-by-country?country_id=eq.{country_id}
Query Parameters
- country_id integer
Default value:
eq.26
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": 26,
"country_name": "Australia",
"country_hash_image": "86936315fce40c126916c0c980e24be16cd8fd390243c6740f58c62d08cea336",
"referees": [
{
"id": 1755,
"name": "Jeff Dalgleish",
"hash_image": "e9bee1b4dbf07d61b49604a5ef4217f00c6e97976b3c0e4b392187f19ffa9e61"
},
{
"id": 1758,
"name": "Matt Stevic",
"hash_image": "3db360579039a3e5113bda70b1310aec182f28e37881e5227146747289feb100"
},
{
"id": 1759,
"name": "Chris Donlon",
"hash_image": "23b4ffdb70c02a60656618d2c481d513e34bb053b4c8934bc5276f3452ccc305"
},
{
"id": 1761,
"name": "Curtis Deboy",
"hash_image": "9b28e719a9db86fcecead0047a9af4ef5693bed45fdb82d62ce3721a3373efa2"
},
{
"id": 1764,
"name": "Justin Power",
"hash_image": "511048e6ca348818784c4970c648ae427ccba690b339dc706df03e702c982d68"
},
{
"id": 1768,
"name": "Nick Foot",
"hash_image": "3323f6ece9a478e323dbc6fcbaf9538502b74518daa9e41b1db027bf28951a1a"
},
{
"id": 6113,
"name": "Simon Meredith",
"hash_image": "f2c62b423962aba46a6842d92b1778ab99ad2c91b9a06bfb9ffb34523160968b"
},
{
"id": 6120,
"name": "Eleni Glouftsis",
"hash_image": "6f849820b49b75f72d2582726b26fe666c545b4156bc0a9cd10d7ed80564b160"
},
{
"id": 6122,
"name": "Andre Gianfagna",
"hash_image": "ebad56d96409deac6ce24721e65682bd59f984ff6ce95611bd5256cbe7e05854"
},
{
"id": 6130,
"name": "David Harris",
"hash_image": "e0938c092a06deffaa23de4efe3ec344a3d1f6c6bdc054655efd8e9c4074e3a0"
}
]
}
]