btce-public-v3deprecated

A NodeJS class to interact with the public BTC-E exchange.

Usage no npm install needed!

<script type="module">
  import btcePublicV3 from 'https://cdn.skypack.dev/btce-public-v3';
</script>

README

BTC-e Public API v3 Node.js Client.

Installation

We publish to npm. Run the following command in shell.

$ npm install --save btce-public-v3

Basic Usage

var BTCE_Public_v3 = require('btce-public-v3');

var btce = new BTCE_Public_v3();

btce.info()
    .then(function(results){
        console.log('Results');
        console.log(results);
    })
    .catch(function(short, raw){
        console.log('----- SHORT ERROR -----');
        console.log(short);
        console.log('----- RAW ERROR -----');
        console.log('type: '+typeof(raw));
        if(typeof(raw) != 'undefined')
            console.log(raw);
    });