lzt-browser
v0.2.4
Published
Lolzteam API for browser
Downloads
2
Readme
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)