1.2.14 • Published 7 years ago

cryptopia-api v1.2.14

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

cryptopia-api

Asynchronous Node.js Module for Cryptopia Public and Private APIs

npm version Build Status

Installation

npm install cryptopia-api

Usage

const Cryptopia = require('cryptopia-api')();
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.setOptions(options);

//Get All Currencies
(async function () {
    try {
        const currencies = await Cryptopia.getCurrencies();
        console.log(currencies); //Array of available Currencies from API
    } catch (err){
        console.error(err);
    }
})();

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.

Cryptopia API Reference

1.2.14

7 years ago

1.2.13

7 years ago

1.2.12

7 years ago

1.2.11

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago