Socket
Socket
Sign inDemoInstall

luno-node-api

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    luno-node-api

Luno Exchange Node API


Version published
Weekly downloads
1
Maintainers
1
Install size
1.22 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 06 Feb 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc