WHMCS API bindings for GoLang
client, err := whmcs.NewClient(urlToWhmcs, username, password, dangerMode)
if err != nil {
return err
}
login, err := client.Authentication.ValidateLogin(&whmcs.ValidateLoginRequest{
Email: whmcs.String("example@mail.com"),
Password: whmcs.String("password"),
})
if err != nil {
return err
}
Methods are grouped in the same way as in the official documentation.
- Authentication
- ValidateLogin
- Tickets (all)
- Support (all)
- System
- GetEmailTemplates
- SendAdminEmail
- SendEmail
- TriggerNotificationEvent