localbitcoins-changes-nodejs

0.1.7 • Public • Published

Node LocalBitcoins

NodeJS Client Library for the LocalBitcoins API

This is an asynchronous node js client for the localbitcoins.com API.

It exposes all the API methods found here: https://localbitcoins.com/api-docs/ through the 'api' method:

Example Usage:

npm i localbitcoins-changes-nodejs

const LBCClient = require("localbitcoins-changes-nodejs");
const lbc = new LBCClient(api_key, api_secret);

// Display user's info
lbc.api('myself', null, "POST", function(error, data) {
    if(error) {
        console.log(error);
    }
    else {
        console.log(data);
    }
});

To-Do:

  • ad-create: done
  • set new parameter post with get or post methods after {params}: done
  • chat message send on trade: done

Credit:

Forked from https://github.com/pardeep889/

Edited By: Pardeep889@hotmail.com

Package Sidebar

Install

npm i localbitcoins-changes-nodejs

Weekly Downloads

4

Version

0.1.7

License

MIT

Unpacked Size

11.2 kB

Total Files

4

Last publish

Collaborators

  • pardeep889