/fortnite

An API wrapper for Fortnite.

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

// Get the stats of an Xbox player by the name of Number1Swifty
fortnite.user('Number1Swifty', 'xbl').then(console.log);