fn-tracker-api
Advanced tools
| const FortniteTracker = require ("fn-tracker-api") | ||
| const client = new FortniteTracker("Your fortnite-tracker api token") | ||
| client.getPowerRanking("Brxnson", "pc", "eu").then(data => console.log(data)) |
+1
-1
| { | ||
| "name": "fn-tracker-api", | ||
| "version": "1.1.2", | ||
| "version": "1.1.3", | ||
| "description": "NPM package to ease the use of the fortnitetracker api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+3
-3
@@ -18,3 +18,3 @@ # Fortnite Tracker api npm package | ||
| FNTrackerClient.getPowerRankings("Brxnson", "pc", "eu").then(async data => console.log(data)) | ||
| FNTrackerClient.getPowerRanking("Brxnson", "pc", "eu").then(async data => console.log(data)) | ||
| ``` | ||
@@ -40,6 +40,6 @@ | ||
| ## getPowerRankings("EpicName", "Platform", "Region") | ||
| ## getPowerRanking("EpicName", "Platform", "Region") | ||
| Get the power rankings of the provided user from the provided platform and region | ||
| ```js | ||
| FNTrackerClient.getPowerRankings("Brxnson", "pc", "eu").then(async data => console.log(data)) | ||
| FNTrackerClient.getPowerRanking("Brxnson", "pc", "eu").then(async data => console.log(data)) | ||
| ``` |
+1
-1
@@ -45,3 +45,3 @@ const { getStore, GetMatchHistory, GetPlayerStats, GetPowerRankings } = require ("./functions") | ||
| */ | ||
| async getPowerRankings(EpicName, Platform, Region) { | ||
| async getPowerRanking(EpicName, Platform, Region) { | ||
| if (!Platform || !Region || !EpicName) throw new TypeError("Make sure you provide a valid platform, region and epicname!") | ||
@@ -48,0 +48,0 @@ if (typeof Platform !== "string" || typeof Region !== "string" || typeof EpicName !== "string") throw new TypeError("Make sure you provide a valid platform, region and epicname!") |
| const FortniteTracker = require ("fn-tracker-api") | ||
| const client = new FortniteTracker("Your fortnite-tracker api token") | ||
| client.getPowerRankings("Brxnson", "pc", "eu").then(data => console.log(data)) |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
9491
-0.05%