Skip to content

DeviaVir/coinfalcon-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coinfalcon Build Status

With this Node module you can plug into the no-fees and fast Coinfalcon.

Installation

npm install coinfalcon --save

Getting Started

First you need to sign-up for a Coinfalcon account and obtain your unique API Key and API Secret. You will find both under API. Once you have set up your account, you can start using Coinfalcon's API client in your applications. You can find all API calls and parameters on Coinfalcon's API documentation page.

Example usage

npm i --save coinfalcon

client.js:

const client = require('coinfalcon')

const coinfalconClient = new client.Client('KEY', 'SECRET');

coinfalconClient.get('markets/BTC-EUR/trades').then(res => {
  console.log('fetched!', res);
}).catch(err => {
  console.log('Whoops, something went wrong!', err);
});

coinfalconClient.get('user/orders', {'market': 'BTC-EUR'}).then(res => {
  console.log('fetched!', res);
}).catch(err => {
  console.log('Whoops, something went wrong!', err);
});

node client.js