A simple library that implements the open API of the service baget.com to perform the functions of the control panel.
To work with the library, you need the golang version: 1.19. The installation can be done using the command:
go get github.com/ThCompiler/go.beget.api- Get information about your hosting account;
- Manage backups;
- Manage the task scheduler;
- Configure DNS;
- Manage databases;
- Create and delete websites on your account;
- Manage domain settings;
- Manage mailboxes.
Detailed information about the API is provided on the Beget`s documentation site.
The documentation provides a description of the library's functions. And the update_hostname repository provides an example of usage libraries for updating ip for hostname based on the current ip of the server.
Questions and suggestions can be specified in the issue of this repository.