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

0.0.6 • Public • Published

Kanga Exchange Node API library

NPM Downloads

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

Install

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

npm install kanga-exchange-node-api

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

Example

import { PublicApi } from 'kanga-exchange-node-api';

const publicApi = new PublicApi();
const results = await publicApi.apiV2MarketOrderbookRawGet({
  market: 'KNG-oPLN'
});

See full example

Run example

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

## provide .env file
touch .env
echo "KANGA_PUBLIC="YOUR_PUBLIC_KANGA_KEY"" > .env
echo "KANGA_SECRET="YOUR_SECRET_KANGA_KEY"" > .env

npm run example

Package Sidebar

Install

npm i kanga-exchange-node-api

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

2.02 MB

Total Files

818

Last publish

Collaborators

  • krystiangw