UNPKG
node-cobinhood
Version:
latest (0.2.8)
0.2.8
0.2.7
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.3
0.1.1
0.1.0
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
nodejs cobinhood api client
github.com/wmin0/node-cobinhood
wmin0/node-cobinhood
node-cobinhood
/
example
/
order.js
8 lines
(6 loc)
•
179 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
key =
`your key here`
const
Client
=
require
(
'../'
)
let
client =
new
Client
({
key
: key }) client.
listOrders
() .
then
(
console
.
log
,
console
.
error
) .
then
(
() =>
client.
close
())