-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Fortnite Api | ||
This app contains the integration with the Fortnite's unofficial API. | ||
This app contains an integration with the Fortnite's unofficial API. | ||
|
||
As seen at: | ||
https://github.com/qlaffont/fortnite-api | ||
It uses a [GenServer](lib/fortnite_api/access_server.ex) 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`](lib/fortnite_api.ex#L88-L102). | ||
|
||
## Test | ||
To test locally, see [this](https://github.com/qlaffont/fortnite-api/blob/master/README.md#init) for guidance on how to retrieve necessary values. Once you have these, create a local `config/dev.secret.exs` file from the given [example](config/dev.secret.example.exs) with the retrieved values. |