Jake-Ruston / Fortnite-API-Wrapper

A simple, easy to use module for interacting with the FortniteTracker API.
https://www.npmjs.com/package/fortnite
24 stars 11 forks source link

Fortnite npm downloads Dependencies RunKit

fortnite
Changelog | Issues

A simple, easy to use module for interacting with the FortniteTracker API.

Setup and Installation

$ npm i fortnite
  1. Signup at FortniteTracker
  2. Generate an API Key

Getting Started

// Bring in the Fortnite module
const Client = require('fortnite');
// Create an instance of the client with your API Key
const fortnite = new Client('Your-API-Key');

// All methods
fortnite.user('username', 'platform [pc, xbl, psn]').then(console.log);
fortnite.store().then(console.log);
fortnite.challenges().then(console.log);