This package has been deprecated

Author message:

Node-Reaver is no longer maintained. To use the Shodan API head to https://api.shodanbot.com instead

node-reaver

3.1.1 • Public • Published

NPM module to interact with the Cortex Reaver API

Now with SSL!

Used in pretty much the exact same way as the actual API. The name of the endpoint becomes the function with a promise or callback based return.

Example:

var cr = require('node-reaver')

//Endpoint for the image command 'boop' would be http://api.shodanbot.com/interactions/boop on the site
//Here it becomes the following:

cr.boop().then(boop=>{
  console.log(boop)
//{"img": "https://cdn.shodanbot.com/api/interactions/boop/boop4.PNG?raw=true"}
})

Or with callbacks:

var cr = require('node-reaver')

cr.boop(function(req, res) {
  console.log(res)
  //{"img": "https://cdn.shodanbot.com/api/interactions/boop/boop1.PNG?raw=true"}
})

Dependents (0)

Package Sidebar

Install

npm i node-reaver

Weekly Downloads

7

Version

3.1.1

License

none

Unpacked Size

7.14 kB

Total Files

3

Last publish

Collaborators

  • axelgreavette