Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fortnite

Jake-Ruston57.6kMIT4.3.2

An API wrapper, for Fortnite, around the FortniteTracker API.

readme

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