Update 'vertical life api'

Dorian Zedler 2022-10-12 16:35:06 +02:00
parent f7f4e5d76a
commit 9ba8a79270

@ -5,12 +5,13 @@ All the information on this page have been gathered by reverse-engineering the I
The VL API is located at [https://ifsc.results.info/api/v1/](https://ifsc.results.info/api/v1/)
# Authentication
- The VL API requires "authentication".
- To authenticate, the user has to pass an API-Key an HTTP-Header.
- The header is: ```x-auth-token```
- ~~The VL API requires "authentication". ~~
- ~~To authenticate, the user has to pass an API-Key an HTTP-Header. ~~
- ~~The header is: ```x-auth-token``` ~~
[//]: <> (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.
- ~~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
## Get all seasons and leagues