node-nzb-api:许多Newsbin索引器使用的NZB API的简单实现

nzb-api许多Newsbin索引器使用的NZB API的简单实现。安装npm install nzb-api使用之前,您需要设置一些选项,例如: var nzbGet = require('nzb-api'); var nzbApi = new NZBApi({ apiEndPoint: "https://yourindexer.com", apiKey: "YOURAPIKEY" });使用NZB-Api方法使用传统的node.js回调一旦有了nzbApi对象,就可以使用以下命令进行调用: // Get the capabilities of the server nzbApi.getCapabilities(function(err, result) { if (err) return console.error(err); console
zip 文件大小:5.23KB