This app contains an integration with the Fortnite's unofficial API.
It uses a GenServer for maintaining a shared valid access token to be used for requests to the actual Fortnite API.
The app currently only supports duo queue as well as platforms pc/ps4/xb1
.
The stats of a given player are accessed through FortniteApi.fetch_stats/2
.
To test locally, see this for guidance on how to retrieve necessary values. Once you have these, create a local config/dev.secret.exs
file from the given example with the retrieved values.