
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
fortnite-api-io
Advanced tools
Simple Wrapper Module for making API calls to https://fortniteapi.io.
Go to the API Docs to register for an account and to get an API key.
You can also read the module docs for a list of supported calls.
npm install fortnite-api-io
const FortniteAPI = require("fortnite-api-io");
// Instantiate with API Credentials
const client = new FortniteAPI("credentials-go-here", {
defaultLanguage: 'en', // Optional - will default to 'en'
ignoreWarnings: false // Optional -will default to false
});
The API is currently transitioning into its second version. Where available, it is highly recommended to use the version 2 endpoint.
// Get the next upcoming items (version 2)
const upcomingItems = await client.v2.listItems();
// Get this season's challenges (version 2)
const challenges = await client.v2.listChallenges("current");
// Get all stats for a specific loot/weapon item (version 1)
const loot = await client.getLootDetails();
If you call a version 1 method, when there is an available version 2 method, a warning log will be printed. The deprecation warnings can be disabled when instantiating the API wrapper.
const upcomingItems = await client.listItems();
// WARNING: listItems has been deprecated - please use FortniteAPI.v2.listItems
Thanks to the devs of https://fortniteapi.io, do consider subscribing on their API Dashboard to support the project and its costs.
MIT
FAQs
Nodejs module for making requests to fortniteapi.io
The npm package fortnite-api-io receives a total of 36 weekly downloads. As such, fortnite-api-io popularity was classified as not popular.
We found that fortnite-api-io demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.