Documentation on our Node.js client, for easy API usage. Perfect for automating deployments.
Make sure you have a computer running Windows, macOS, or Linux with Node.js installed before proceeding.
First, you'll have to download our client. This is a Node.js package we made that'll let you easily interact with our API.
What package manager do you use?
$ yarn add raas-api
Now, require the package in your Node.js code.
const raas = require('raas-api')
See the related section in the API docs.
You must run this to be able to use any API functions. Note that it isn't recommended to get the key programmatically, instead you should store it in an environment variable.
If the alias doesn't exist, it'll be created, but if it does it'll be updated with the new code.
See the related section in the API docs.