1.0.1 • Published 4 years ago

hostingbot.net v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

HostingBot Logo

HostingBot.net API Wrapper

Installation

npm install hostingbot.net --save

Why use this module?

Personally I've been a customer of hostingbot.net for awhile now and I've seen how people love to integrate APIs with their bot. Using their hosting provider's API allows for rich information to be easily accessed.

Speed

I've done my best to try and optimize this module for speed. Currently, the HostingBot API is not the fastest so I've done some nice tricks to get past that and deliver content secure and fast.

Usage

const HostingBot = require("hostingbot.net"); // REQUIRE THE MODULE
const VPS = new HostingBot.VPS({
      apiKey: "", // API Key from hostingbot.net
      apiPass: "", // API pass from hostingbot.net
      svs: 69 // Secure Virtual Server ID from hostingbot.net
  }); 

Get API Information

Go to the Client Area in hostingbot.net HostingBot Client Area

And then from the virtualizor dashboard, get your Virtual Private Server's ID. This is your 'svs' that we use to fetch from the HostingBot API. HostingBot Client Area

Now, you need to create a API key pair as they're not generated by HostingBot.net automatically for security. HostingBot Client Area And boom, you've created a API user! Please make sure to keep all your credentials safe, if you ever lose them, you should REVOKE them from the virtualizor dashboard.

Important

This is a API Wrapper for hostingbot.net from a customer for fellow customers. In no way does Hostingbot, LLC have any involvement in the development of this module besides just providing API endpoints for their customers. Use at your own risk.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT