Update 'vertical life api'

Dorian Zedler 2022-10-16 19:12:31 +02:00
parent e6f3b9c4cd
commit b9ea64b37b

@ -4,14 +4,11 @@ All the information on this page have been gathered by reverse-engineering the I
# Location # Location
The VL API is located at [https://ifsc.results.info/api/v1/](https://ifsc.results.info/api/v1/) The VL API is located at [https://ifsc.results.info/api/v1/](https://ifsc.results.info/api/v1/)
# Authentication # "Authentication"
- ~~The VL API requires "authentication".~~ - The VL-api requires some headers to be set:
- ~~To authenticate, the user has to pass an API-Key an HTTP-Header.~~ - The ```Referer``` header has to be set to ```https://ifsc.results.info/```
- ~~The header is: ```x-auth-token```~~ - The ```x-auth-token``` header has to be set to ```cc7375f680648e7e6171e035e70351eb```
- For easy use, a browser plugin can be used to inject the header automatically, [this one](https://addons.mozilla.org/en-US/firefox/addon/modify-header-value/) worked just fine for me on Firefox.
[//]: <> (and the key is ```cc7375f680648e7e6171e035e70351eb``` probably this is not the only key, but it is the only one I know about)
- ~~For easy use, a browser plugin can be used to inject the header automatically, [this one](https://addons.mozilla.org/en-US/firefox/addon/modify-header-value/) worked just fine for me on Firefox.~~
- This does not seem to work anymore
# Usage # Usage
## Get all seasons and leagues ## Get all seasons and leagues