/Fortnite-API-Wrapper

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

Primary LanguageJavaScript

Fortnite npm downloads Dependencies RunKit

fortnite

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);