Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ehpc/btce-nodejs-call-method
Calling BTC-e trading API method from Node.js
https://github.com/ehpc/btce-nodejs-call-method
Last synced: 5 days ago
JSON representation
Calling BTC-e trading API method from Node.js
- Host: GitHub
- URL: https://github.com/ehpc/btce-nodejs-call-method
- Owner: ehpc
- License: mit
- Created: 2015-10-28T15:14:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T16:48:44.000Z (about 9 years ago)
- Last Synced: 2024-11-19T07:43:23.612Z (about 1 month ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A module for calling the BTC-e trading API method
It's a simple module with only one purpose:
* Calling the BTC-e trading API method
Actually it was written to call *getInfo* and nothing more. But I figured it
can be improved in the future so here it is on github.# Installing
```
npm install btce-nodejs-call-method --save
```# Using
```
let btce = require('btce-nodejs-call-method');
btce.callBtceMethod(
'getInfo',
'YOUR API KEY',
'YOUR SECRET KEY'
).then(function (data) {
console.log('BTC count: ', data.return.funds.btc);
}).catch(console.error);
```# Testing
```
npm test
```