Skip to content

v1.1.0

Choose a tag to compare

@hvasconcelos hvasconcelos released this 17 Feb 17:59
· 6 commits to master since this release

Installation

# Using npm
npm install @luziadev/sdk

# Using Bun
bun add @luziadev/sdk

# Using pnpm
pnpm add @luziadev/sdk

Quick 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