@fborges2002/faceitjs

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @fborges2002/faceitjs

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

85.6 kB

Total Files

70

Last publish

Collaborators

  • fborges2002