Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.11 KB

MyFFBad-tokens.md

File metadata and controls

22 lines (13 loc) · 1.11 KB

FFBad API header tokens

The FFBad API is exposed as a backend for the website MyFFBad

This app uses 2 API endpoints to fetch available tournaments : /api/search/ and /api/tournament/{id}/informations

Both of these APIs requires custom headers named Verify-Token

Retrieve your tokens

In order to retrieve your tokens you need to log in on MyFFBad website using your player credentials

Both tokens only need to be retrieved once

Search Verify-Token

Once logged in, you can retrieve your Verify-Token for the search API on the tournament page

Using the browser console, find the /api/search/ POST request and find the request header named Verify-Token

Details Verify-Token

Once logged in, you can retrieve your Verify-Token for the tournament details API on any tournament details page, like this one

Using the browser console, find the /api/tournament/{id}/informations POST request and find the request header named Verify-Token