8
vertical life api
Dorian Zedler edited this page 2022-10-16 19:12:31 +02:00
Table of Contents
This is some documentation for the new (sadly proprietary) vertical life api of the IFSC.
All the information on this page have been gathered by reverse-engineering the IFSC App and doing some trail and error on the API.
Location
The VL API is located at https://ifsc.results.info/api/v1/
"Authentication"
- The VL-api requires some headers to be set:
- The
Referer
header has to be set tohttps://ifsc.results.info/
- The
x-auth-token
header has to be set tocc7375f680648e7e6171e035e70351eb
- For easy use, a browser plugin can be used to inject the header automatically, this one worked just fine for me on Firefox.
Usage
Get all seasons and leagues
- Path:
/
- This will return all seasons with leagues and the current one
- Example: https://ifsc.results.info/api/v1/
Get league data
- Path:
https://ifsc.results.info/api/v1/season_leagues/<leagueId>
- This will return a list of competitions in the season
- content:
d_cats
: categories [array]events
: competitions [array]d_cats
: categories in the competitions [array]status
: current status of the competitions [string]registration_active
registration_pending
active
?finished
category_rounds
status
: current status of the roundpending
active
finished