Skip to content

Golang client for CloudLoyalty API

License

Notifications You must be signed in to change notification settings

HaiD84/client-go

 
 

Repository files navigation

MAXMA Client

Usage example:

package example

import "github.com/cloudloyalty/client-go"

client := cloudloyalty_client.New(&cloudloyalty_client.Config{
    BaseURL:       "https://api-test.maxma.com",
    ProcessingKey: "your key",
})

clientQuery := &cloudloyalty_client.GetBalanceQuery{
    PhoneNumber: "phone number",
    Card:        "card",
}

resp, err := client.GetBalance(ctx, clientQuery)
if resp != nil {
    // resp.Client.FullName
}

See https://docs.maxma.com/api/

About

Golang client for CloudLoyalty API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%