wrapper of bitFlyer APIs
this is not implemented trade api yet
$ npm install bitflyer-node
var bitflyer = require('bitflyer-node');
// REST API
// if you don't give api key and secret, then you can use only public api
var rest = new bitflyer.REST('YOUR_API_KEY', 'YOUR_API_SECRET');
rest.getBalance(function(err, data) {
if(err) return console.error(err);
console.log(data);
});
// Streaming API
var streaming = new bitflyer.Streaming();
streaming.subscribeTicker(function(err, data) {
if(err) return console.error(err);
console.log(data);
});
callback
is function asfunction(err, data)
.
-
callback
is function asfunction(err, data)
. -
optional:
from_date
is number. default is5
.
callback
is function asfunction(err, data)
.- optional:
paging
is object as:
{
count: number,
before: id,
after: id
}
- see paging detail
callback
is function asfunction(err, data)
.
callback
is function asfunction(err, data)
.- optional:
paging
is object as:
{
count: number,
before: id,
after: id
}
- see paging detail
- not implemented now
- not implemented now
callback
is function asfunction(err, data)
.
- oops again
- oops
- initial
MIT License.
- ISHII 2bit [bufferRenaiss co., ltd. / backspace.tokyo]
- [email protected]
Please create a new issue if there is a problem. And please throw a pull request if you have a cool idea!!
17AbtW73aydfYH3epP8T3UDmmDCcXSGcaf