@fborges2002/faceitjs
v1.0.0
Published
A simple wrapper for faceit.com data and chat API.
Downloads
3
Readme
A simple wrapper of faceit API in js.
Package is not on npm yet!
Install
npm install faceitjs
or
yarn add faceitjs
How to use start using it?
const Faceit = require("faceitjs");
const faceit = new Faceit("ServerSideApiKey", "ClientSideApiKey");
How to get info from a player?
faceit.getPlayer("yourFaceitName").then((response) =>{
console.log(response)
}).catch((err) =>{
console.error(err);
})
Errors:
The errors given when axios try to make the call are returned for the catch.