fortnite.js npm npm downloads Travis (.org) Dependencies RunKit

Docs | Changelog | Issues

A powerful and super light Fortnite stats API wrapper for Node.js

Setup and Installation

  1. Signup at fortnitetracker
  2. Navigate to the api page and generate a key
  3. Install fortnite.js npm install fortnite.js --save
  4. When using the wrapper, parse your generated key when creating the client

Examples

const fortnite = require('fortnite.js');

// Make sure you set your own key, otherwise it won't work!
// Check the README for more info on obtaining your key.

const client = new fortnite('my api key');

client.get('ickerio', fortnite.PC)
    .then(console.log) // Do stuff with the data
    .catch(console.error); // Catch if there is an error

Issues

If you run into any issues, have any queries or concerns or would just like to make a few suggestions please do not hesitate to join our discord support server