8000 GitHub - ss-sonic/qume-api: API Connector for QUME Crypto Exchange · GitHub
[go: up one dir, main page]

Skip to content
ss-sonicPublic

About

API Connector for QUME Crypto Exchange

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qume-api

API Connector for QUME Crypto Exchange

npm install qume-api

API wrapper for the QUME REST API. Please refer to this documentation for all calls explained.

This is a low level wrapper with zero dependencies focussed on speed:

  • No third party libraries
  • Allows you to pre compile your message (see below under low latency usage)

Usage

Import and Initialization

const QumeAPI = require("qume-api")

const qumeClient = new QumeAPI({
    apiKey: "--api-key--",
    apiSecret: "--api-secret--",
    passPhrase: "--pass-phrase--"
})

Standard usage

const data = await qumeClient.request({
    method: "GET",
    path: "/wallets"
})

Low latency usage

This library allows you to prepare an API request draft before hand (doing all the heavy work) :

const draft = qumeClient.createDraft({
    method: "GET",
    path: "/wallets"
});

const data = await qumeClient.requestDraft(draft);

Note that this only works in scenarios where you can estimate what will happen or which scenarios might happen: You can create drafts for all of them and only end up sending one later.

About

API Connector for QUME Crypto Exchange

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0