Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deviavir/coinfalcon-node
Simple API client for the Coinfalcon exchange
https://github.com/deviavir/coinfalcon-node
btc coinfalcon crypto es6 eth exchange javascript node npm
Last synced: 12 days ago
JSON representation
Simple API client for the Coinfalcon exchange
- Host: GitHub
- URL: https://github.com/deviavir/coinfalcon-node
- Owner: DeviaVir
- License: mit
- Created: 2017-11-27T12:41:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T10:37:13.000Z (over 4 years ago)
- Last Synced: 2024-10-18T20:23:14.559Z (21 days ago)
- Topics: btc, coinfalcon, crypto, es6, eth, exchange, javascript, node, npm
- Language: JavaScript
- Homepage: http://npmjs.com/package/coinfalcon
- Size: 36.1 KB
- Stars: 6
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Coinfalcon [![Build Status](https://secure.travis-ci.org/DeviaVir/coinfalcon-node.png?branch=master)](https://travis-ci.org/DeviaVir/coinfalcon-node.svg?branch=master)
With this Node module you can plug into the no-fees and fast [Coinfalcon](https://coinfalcon.com/).
* [Installation](#installation)
* [Getting Started](#getting-started)
* [Example request](#example-requests)## Installation
npm install coinfalcon --save
## Getting Started
First you need to sign-up for a [Coinfalcon](https://coinfalcon.com/sign_up) account and obtain your unique **API Key** and **API Secret**. You will find both under [API](https://coinfalcon.com/settings/applications). 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](https://docs.coinfalcon.com/).
## 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`