curl "https://sportplaces.api.decathlon.com/api/v1/sports"
JSON response:
{
{
"id": 186,
"name": "Diving",
"tags": [
"free",
"outdoor",
"lessons",
"space_for_children"
],
"filters": [
"size",
"quality"
]
},
...
}
Retrieves a list of all supported Decathlon sports (as defined by Decathlon), plus the allowed tags and filters for each.
The sports are returned in an object consisting of several key/value groups - the keys of which are the Sport IDs in string format.
GET https://sportplaces.api.decathlon.com/api/v1/sports
curl "https://sportplaces.api.decathlon.com/api/v1/sports/186"
JSON response:
{
"id": 186,
"name": "Diving",
"tags": [
"free",
"outdoor",
"lessons",
"space_for_children"
],
"filters": [
"size",
"quality"
]
}
Retrieves details for one specific sport. Included are the English name, and the allowed tags and filters.
GET https://sportplaces.api.decathlon.com/api/v1/sports/SPORT_ID