@cimok/faceit.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

FaceIT.js - FaceIT.com API Wrapper

This is not an Official FaceIT Package!

TODO:

  • [x] Create a error parser.
  • [ ] Create a custom logger.

Install

Coming Soon..

npm install faceit.js

Usage

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.

Readme

Keywords

Package Sidebar

Install

npm i @cimok/faceit.js

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

35.8 kB

Total Files

18

Last publish

Collaborators

  • cimok