Open an API client
If you're using Scuttlebot from a JS application, you will need to open a client connection.
If you're using the command-line, you can skip this step.
js
var ssbClient = require('ssb-client')
ssbClient(function (err, sbot) {
if (err)
throw err
// sbot is now ready. when done:
sbot.close()
})
Currently, Scuttlebot's API client is only available for node.js applications.