Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

fortnite-api-io

1.4.0 • Public • Published

fortnite-api-io

npm version CircleCI

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 = require("fortnite-api-io");
 
// Instantiate with API Credentials
const fortniteAPI = new FortniteAPI("credentials-go-here")

Example API Calls

// Get the next upcoming items
const upcomingItems = await fortniteAPI.listUpcomingItems();
 
// Get this seasons challenges
const challenges = await fortniteAPI.listChallenges("current")

Acknowledgement

Thanks to the devs of https://fortniteapi.io, do consider subscribing on their API Dashboard to support the project and its costs.

License

MIT

Install

npm i fortnite-api-io

DownloadsWeekly Downloads

236

Version

1.4.0

License

MIT

Unpacked Size

39.2 kB

Total Files

13

Last publish

Collaborators

  • avatar