1.0.3 • Published 3 years ago
fortool v1.0.3
fortool
Install the Module
npm install fortool
Require and Instantiate
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
});
Example API Calls
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();
Acknowledgement
Thanks for the inspiration of the fortniteapi.io module
License
MIT