UNPKG

node-bitflyer

Version:
16 lines (14 loc) 563 B
'use strict' const assert = require('assert') const { RestClient, RealtimeClient } = require('../../index.js') describe('test', () => { describe('test', () => { it('set properties', async () => { const client = new RestClient('8j8mv2DMZw8PtBQcB5BhPp', 'VwHhwCoEGsfaDNZbrpr8ee0WpooQJaBh3wiuHFD+99Y=') client.fetch('GET', '/board?product_code=ETH_BTC').then((res) => { console.log(res)} ) // const board = await client.getMarkets() // console.log(board) // client.getMarkets().then((res) => { console.log(res) }) }) }) })