
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.
@cstools-app/faceit-wrapper
Advanced tools
Still need to write more documentation and tests for this
Check the documentation for up to date information
npm i @cstools-app/faceit-wrapper
You'll also need a fetch method I suggest isomorphic-unfetch or cross-fetch
Why do you need to supply a fetch method? This way people can use their own prefered way, it also means this can work in a serverless environment like cloudflare workers.
npm i isomorphic-unfetch
import fetch from 'isomorphic-unfetch';
// Import the faceit-wrapper library
import FaceitAPI from '@cstools-app/faceit-wrapper';
// Initiate the client
const client = new FaceitAPI(api_key, fetch);
// Create a function that searches for a player
const get = async () => {
const res = await client.search.players({ nickname: 'DotJar', game: 'csgo', country: 'nl' });
console.log(res);
};
// Execute the function
get();
ROUTE:: /leaderboards/championships/{championship_id}
METHOD:: leaderboards.championships.show({championship_id: <id>})
ROUTE:: /leaderboards/{leaderboard_id}
METHOD:: leaderboards.show()
ROUTE:: /championships
METHOD:: championships.get()
ROUTE:: /championships/{championship_id}
METHOD:: championships.show({championship_id: <id>, <params>})
Params are automatically split into wildcards & query
Include the params and queries as listed on the Faceit documentation per route
FAQs
<span class="badge-n
The npm package @cstools-app/faceit-wrapper receives a total of 1 weekly downloads. As such, @cstools-app/faceit-wrapper popularity was classified as not popular.
We found that @cstools-app/faceit-wrapper 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.