bukget.js
npm install bukget
bukget.js - Node.js Wrapper for the Bukget v3 API
Code Examples
var bukget = userAgent: 'my-custom-useragent' // usefull for stats on usage ; bukget; bukget;
Documentation
Other than the method names differing from the routes all data and required fields match the Bukget v3 API.
Init Options
var bukget = url: 'api.bukget.org/' version: 3 https: false rejectUnauthorizedSSL: false userAgent: 'Bukget-node.js' localAddress : false pluginServer: 'bukkit' ;
url
- string - url to make requests to. Useful when to change when using an internal bukget serverversion
- int - version number to prepend to each route requesthttps
- boolean - Force HTTPS requestsrejectUnauthorizedSSL
- boolean - Force requests to accept unauthorized SSL certificatesuserAgent
- string - useragent used to track usage.localAddress
- string - local address to bind to when making connectionspluginServer
- string - which server binary to use plugins lookups for