Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

digitaltangibletrust/melotic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

melotic

The melotic REST api https://www.melotic.com/apidoc wrapped for NodeJS/JavaScript.

Why we created it?

We created this API wrapper so you could access the equivalent REST API through simple asynchronous functions with all the power provided by Melotic's direct API. This API uses simple method calls without all of the hassle of writing API request URLs, body and query strings.

Pull requests are welcomed!

API documentation

Instantiating a Client

var Melotic = require('melotic');
var melotic = new Melotic(options);

This generates a new API client. It accepts options arguments.

options:
  • accessKey string Optional. Your Melotic api access key for write operations, like submitting a bid.
  • secret string Optional. Your Melotic secret corresponding to your access key for signing write operations.

Melotic client

getMarkets

melotic.getMarkets(function(err, markets) {
  // ... utilize markets
});

About

Melotic JavaScript API Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published