Releases: luziadev/sdk
Releases · luziadev/sdk
v1.1.1
Installation
# Using npm
npm install @luziadev/sdk
# Using Bun
bun add @luziadev/sdk
# Using pnpm
pnpm add @luziadev/sdkQuick Start
import { Luzia } from '@luziadev/sdk'
const luzia = new Luzia({
apiKey: 'lz_your_api_key',
})
// Get BTC price from Binance
const ticker = await luzia.tickers.get('binance', 'BTC/USDT')
console.log(`BTC/USDT: $${ticker.last}`)
// List all exchanges
const exchanges = await luzia.exchanges.list()Documentation
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Installation
# Using npm
npm install @luziadev/sdk
# Using Bun
bun add @luziadev/sdk
# Using pnpm
pnpm add @luziadev/sdkQuick Start
import { Luzia } from '@luziadev/sdk'
const luzia = new Luzia({
apiKey: 'lz_your_api_key',
})
// Get BTC price from Binance
const ticker = await luzia.tickers.get('binance', 'BTC/USDT')
console.log(`BTC/USDT: $${ticker.last}`)
// List all exchanges
const exchanges = await luzia.exchanges.list()Documentation
Full Changelog: https://github.com/luziadev/sdk/commits/v1.1.0