0.2.4 • Published 2 years ago
lzt-browser v0.2.4
Lolzteam API for node.js
⚠️ Attention! This project uses ES modules.
Please make sure you have "type": "module"
in your package.json
Документация
Installation
npm i lzt
or, if you prefer yarn
yarn add lzt
Example usage
import { LZTApi } from 'lzt'
const api = new LZTApi({ token: 'your api token' })
const me = await api.users.getUser()
const myPayments = await api.market.getPayments()
console.log(me, myPayments)