Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 685 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 685 Bytes

node-nzbget

Node interface for NzbGet.

Not properly tested yet

Work In Progress.

Usage example

var nzbget = require('node-nzbget');

var ng = new nzbget({
	url: '<host:port>', 
	username: '<username>',
    password: '<password>',
	});

ng.version().then(function(res) {
	// data in res
});

ng.history().then(function(res) {
    // data in res
});

ng.listgroups().then(function(res) {
    // data in res
});

ng.listfiles().then(function(res) {
    // data in res
});

For now there only exists these functions. For more information about the API calls, click here