1.0.4 • Published 4 years ago

fortnite-api-pr v1.0.4

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

fortnite-api-pr

fortnite-api-pr is a way to retrieve the power ranking of each player !

Installation

npm i fortnite-api-pr

Usage

Create a Fortnite Tracker API key

const FortniteTracker = require('fortnite-api-pr')
const Fortnite = new FortniteTracker('API Key Fortnite Tracker')

await Fortnite.getPowerRanking('username', 'platform', 'region')

Exemple

const FortniteTracker = require('fortnite-api-pr')
const Fortnite = new FortniteTracker('API Key Fortnite Tracker')

(async () => {
    const PowerRankingStats = await Fortnite.getPowerRanking('username', 'platform', 'region')
    console.log(PowerRankingStats)
})();
const FortniteTracker = require('fortnite-api-pr')
const Fortnite = new FortniteTracker('API Key Fortnite Tracker')

(async () => {
    await Fortnite.getPowerRanking('username', 'platform', 'region').then(PowerRankingStats => {
        console.log(PowerRankingStats)
    })
})();

Parameters

Platform: pc, console, mobile

Region: global, eu, nae, naw, etc ...

Docs Fortnite Tracker Power Ranking

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago