Cortex Reaver API
NPM module to interact with theNow 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"}
})