Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bukget-client

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bukget-client

Bukget API v3 Wrapper

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

bukget.js

npm install bukget

bukget.js - Node.js Wrapper for the Bukget v3 API

Code Examples

   var bukget = require('bukget')({
      userAgent: 'my-custom-useragent' // usefull for stats on usage
   });
   
   bukget.getPlugin('worldguard', function(err, results){
      console.log(results);
   });
   
   bukget.basicSearch({
      field: 'slug',
      action: 'like',
      value: 'world',
      size: 5
   }, function(err, results){
      console.log(results);
   });
   

Documentation

Other than the method names differing from the routes all data and required fields match the Bukget v3 API.

Init Options

   var bukget = require('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 server
  • version - int - version number to prepend to each route request
  • https - boolean - Force HTTPS requests
  • rejectUnauthorizedSSL - boolean - Force requests to accept unauthorized SSL certificates
  • userAgent - string - useragent used to track usage.
  • localAddress - string - local address to bind to when making connections
  • pluginServer - string - which server binary to use plugins lookups for

Methods

FAQs

Package last updated on 27 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc