Arenas By Country
This endpoint allows you to retrieve the arenas 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
langattribute. 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 arenas from a specific country_idhttps://rugby.sportdevs.com/arenas-by-country?country_id=eq.{country_id}
Query Parameters
- country_id integer
Default value:
eq.1The id of the country
- offset string
Default value:
0Limiting and Pagination
- limit string
Default value:
50Limiting and Pagination
- lang string
Default value:
enMulti-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 charactersThe hash image of the country
- arenas jsonb
The arenas
[
{
"country_id": 1,
"country_name": "Canada",
"country_hash_image": "4b650e5c4785025dee7bd65e3c5c527356717d7a1c0bfef5b4ada8ca1e9cbe17",
"arenas": [
{
"id": 1,
"name": "BMO Field",
"hash_image": "e85b53b8163b4c28442f6eebaaaf7cea4985e48403db8db1de525a8363afc979"
},
{
"id": 386,
"name": "BC Place",
"hash_image": "6489852afc8eefd457123414f1bd942d79366ffb6ea8b2bb2556f675d2343fff"
},
{
"id": 5442,
"name": "Swanguard Stadium",
"hash_image": "5262d90d8d208394a1f48b4016926a75ab2aa90ea4458c6dc9887ee515cc3f01"
},
{
"id": 8830,
"name": "Commonwealth Stadium",
"hash_image": "3638ab26f90eabc859d436127d67aef9bafd7df2145df8e7be9f7f31beb37517"
},
{
"id": 27014,
"name": "Allan Lamport",
"hash_image": "2c77642b5372727f1bce73403e7cc7fc4fc6818ebd0028370c512bc554150911"
},
{
"id": 34558,
"name": "Fletchers Field",
"hash_image": "d7fa4efa0e7e69db2c2a05770818c74321e428613e4c3a0e6df730106ba030c9"
}
]
}
]