Official Go SDK for the Ever Gauzy API, auto-generated using Microsoft Kiota.
go get github.com/ever-co/ever-gauzy-sdk-gopackage main
import (
"context"
"fmt"
evergauzy "github.com/ever-co/ever-gauzy-sdk-go/pkg/evergauzy"
auth "github.com/microsoft/kiota-abstractions-go/authentication"
http "github.com/microsoft/kiota-http-go"
)
func main() {
authProvider := &auth.AnonymousAuthenticationProvider{}
adapter, _ := http.NewNetHttpRequestAdapter(authProvider)
adapter.SetBaseUrl("https://api.gauzy.co")
client := evergauzy.NewEverGauzyApiClient(adapter)
// Example: List employees
employees, _ := client.Api().Employee().Get(context.Background(), nil)
fmt.Println(employees)
}The Gauzy API supports multiple authentication methods:
- Bearer Token (JWT): For user-authenticated requests
- API Key: Via
X-API-Keyheader - OAuth2: Authorization code flow
- Swagger UI: https://api.gauzy.co/swg
- Scalar Docs: https://api.gauzy.co/docs
- OpenAPI Spec: https://api.gauzy.co/swg-json
git clone https://github.com/ever-co/ever-gauzy-sdk-go.git
cd ever-gauzy-sdk-go
go mod tidy
go build ./...
go test ./...This SDK is auto-generated from the Ever Gauzy OpenAPI specification using Microsoft Kiota. To regenerate, trigger the "Generate SDK" GitHub Action workflow.
This SDK is licensed under the MIT license.