bullethq

0.0.6 • Public • Published

node-bullethq


How to use it?

var bullethq = require("bullethq");

bullethq.initialize("Email", "API-Key", "BusinessId (if needed)");


bullethq.listAllInvoices(function(err, data) {
	if (err) { console.log(err); return false; }

	console.log(data);
});


bullethq.createClientPayment({
	    currency: "EUR",
	    amount: "500.00",
	    dateReceived: "2015-02-01",
	    clientId: 94682,
	    bankAccountId: 4562,
	    invoiceIds: [258772]
	}, function(err, data) {
		if (err) { console.log(err); return false; }

		console.log(data);
	}
);

Installation

Via [npm][]:

 $ npm install bullethq

As a submodule of your project

$ git submodule add http://github.com/owenobyrne/node-bullethq.git bullethq
$ git submodule update --init

Readme

Keywords

Package Sidebar

Install

npm i bullethq

Weekly Downloads

1

Version

0.0.6

License

MIT

Last publish

Collaborators

  • owenobyrne