FaceIT.js - FaceIT.com API Wrapper
This is not an Official FaceIT Package!
- Create a error parser.
- Create a custom logger.
Coming Soon..
npm install @cimok/faceit.js
To use faceit.js
you will need to generate an API key on the FaceIT Developer Website and replace your_api_key
with it:
// Javascript
const FACEIT = require("faceit.js");
// Typescript
import FACEIT from "faceit.js";
const FaceIT = new FACEIT(`your-api-key`);
You will now be able to test if your API key is correct by using the following function:
console.log(await FaceIT.testKey());
If you get a response of true
your API key is valid. If you get a response of false
your API key is invalid.