luno-node-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Luno Node API library

NPM Downloads

Generated using @openapitools/openapi-generator-cli and schema file luno-schema

Install

From NPM https://www.npmjs.com/package/luno-node-api

npm install luno-node-api

For Node < 18.0 needs to provide fetch API as part of configuration

Example

import { MarketApi } from 'luno-node-api';

const marketApi = new MarketApi();
const results = await marketApi.getOrderBookFull({ pair: 'XBTUSDC' });

See full example

Run example

git clone https://github.com/krystiangw/luno-node-api.git
cd luno-node-api
npm install

## provide .env file
touch .env
echo "LUNO_PUBLIC="YOUR_PUBLIC_LUNO_KEY"" > .env
echo "LUNO_SECRET="YOUR_SECRET_LUNO_KEY"" > .env

npm run example

/luno-node-api/

    Package Sidebar

    Install

    npm i luno-node-api

    Weekly Downloads

    0

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    1.28 MB

    Total Files

    362

    Last publish

    Collaborators

    • krystiangw