Skip to content

daikiojm/gmocoin-api-node

Repository files navigation

gmocoin-api-node

API wrapper for the GMO Coin

Installation

yarn add gmocoin-api-node

Getting started

Import the module and create a new client instance.
Passing api keys is optional only if you don't plan on doing authenticated calls.

import { GmoCoinApi } from 'gmocoin-api-node';

(async function main() {
  const client = new GmoCoinApi({});

  try {
    const { data } = await client.getStatus();
    console.log(data.status);
  } catch (e) {
    console.log(e);
  }
})();

TODO

  • Support Public WebSocket API
  • Support Private WebSocket API

License

MIT