UNPKG

coingate-api

Version:

Coingate.com node.js wrapper

26 lines (16 loc) 417 B
# Coingate-api ## Installation `npm install npm install coingate-api` or `yarn add coingate-api` ## Quick Start ```javascript var Client = require('coingate-api').Client; var client = new Client({'mode': staging || production, 'appId': myappid, 'apiKey': mykey, 'apiSecret': mysecret}); ``` ## Making API Calls **Creating a new order** ```javascript client.createOrder(order); ``` Client returns a promise.