Simple Wrapper Module for making API calls to https://fortniteapi.io.
Go to the API Docs to register for an account and to get an API key.
You can also read the module docs for a list of supported calls.
Install the Module
npm install fortnite-api-io
Require and Instantiate
const FortniteAPI = ;// Instantiate with API Credentialsconst fortniteAPI = "credentials-go-here"
Example API Calls
// Get the next upcoming itemsconst upcomingItems = await fortniteAPI;// Get this seasons challengesconst challenges = await fortniteAPI
Thanks to the devs of https://fortniteapi.io, do consider subscribing on their API Dashboard to support the project and its costs.