localbitcoins-changes-nodejs
v0.1.7
Published
LocalBitcoins API wrapper for NodeJS
Downloads
21
Maintainers
Readme
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: [email protected]