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