This is a simple cPanel api written in go.
Currently four intefaces are implemented,
- CGI cPanel LiveApi - Designed for use in plugins, this interface will work through the preauthenticated CGI LiveApi environment as documented here (UAPI/API2/API1)
- Authenticated JSON cPanel API (UAPI/API2/API1)
- WHM (WHMAPI1)
- WHM Impersonation to call cPanel API (UAPI/API2/API1)
A simple command line example is provided in the example folder.
This API forms part of the Let's Encrypt for cPanel plugin which allows cPanel/WHM hosters to provide free Let's Encrypt certificates for their clients.