cryptopia-api
Asynchronous Node.js Module for Cryptopia Public and Private APIs
Installation
npm install cryptopia-api
Usage
const Cryptopia = ;const options = API_KEY: 'Your Key' API_SECRET: 'Your Secret' HOST_URL: 'https://www.cryptopia.co.nz/api' //Optional, this is the default value;Cryptopia; //Get All Currencies { try const currencies = await Cryptopia; console; //Array of available Currencies from API catch err console; };
See examples.js
for the implemented methods of both Private and Public API calls. If you are having trouble, please review the appropriate API Reference below.