Skip to content

Commit

Permalink
update fortnite_api's readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ecly committed Jul 6, 2018
1 parent 6e16819 commit 8036214
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions apps/fortnite_api/README.md
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.

0 comments on commit 8036214

Please sign in to comment.