coingate-api
Version:
Coingate.com node.js wrapper
26 lines (16 loc) • 417 B
Markdown
`npm install npm install coingate-api`
or
`yarn add coingate-api`
```javascript
var Client = require('coingate-api').Client;
var client = new Client({'mode': staging || production, 'appId': myappid, 'apiKey': mykey, 'apiSecret': mysecret});
```
**Creating a new order**
```javascript
client.createOrder(order);
```
Client returns a promise.