2.1.8 • Published 4 years ago

fort-api-js v2.1.8

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

fortapi

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 fortapi npm install fortnite.js --save
  4. When using the wrapper, parse your generated key when creating the client

Examples

const fortnite = require('fortapi');

// 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('TheAdmin1014', fortnite.PC)
    .then(console.log) // Do stuff with the data
    .catch(console.error); // Catch if there is an error
2.1.8

4 years ago

2.1.7

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago