node-beget
Beget wrapper for NodeJS. BegetAPI will allow to use most features of the administration panel directly from your own scripts, content management systems (CMS) and other software products.
What can I do using Beget.API?
- Receive information about the web hosting account;
- Administer security backups;
- Administer the task planner;
- Adjust DNS;
- Administer databases;
- Create and delete websites on account;
- Manage domains settings;
- Manage mailboxes.
Documentation
See documentation on endpoints in details
example usage
const Beget = ;// import { Beget } from 'node-beget'; const begetConfig = login: 'login' password: 'password' ;const beget = begetConfig; // ...// get account infoconst accountInfo = await begetuser; // toggle sshawait begetuser; await begetmysql;
const UserEndpoint BegetRequest = ;// import { UserEndpoint, BegetRequest } from 'node-beget'; const begetConfig = login: 'login' password: 'password' ;const begetClient = begetConfig;const user = begetClient; // ...await user;