Skip to content

Releases: luziadev/sdk

v1.1.1

18 Feb 22:42

Choose a tag to compare

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: v1.1.0...v1.1.1

v1.1.0

17 Feb 17:59

Choose a tag to compare

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