npm install fortool
const Fortool = require("fortool");
// Instantiate with API Credentials
const client = new Fortool({
defaultLanguage: 'en', // Optional - will default to 'en'
ignoreWarnings: false // Optional -will default to false
});
Here ae the available API calls
// Get the shop
const shop = await client.shop();
// Get the news
const news = await client.news();
// Get the rotation
const rotation = await client.rotation();
Thanks for the inspiration of the fortniteapi.io module
MIT