We have open-sourced our Go library for interacting with the cPanel/WHM JSON and LiveAPIs. You can find the project on Github.
We have open sourced our Go library for interacting with ACME v2 servers.
If you are looking for the source code to the plugin, it is available, with limited rights, as part of a Developer licence. More information at pricing.