Skip to content

ever-co/ever-gauzy-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ever Gauzy Go SDK

Official Go SDK for the Ever Gauzy API, auto-generated using Microsoft Kiota.

Installation

go get github.com/ever-co/ever-gauzy-sdk-go

Quick Start

package 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)
}

Authentication

The Gauzy API supports multiple authentication methods:

  • Bearer Token (JWT): For user-authenticated requests
  • API Key: Via X-API-Key header
  • OAuth2: Authorization code flow

API Documentation

Development

git clone https://github.com/ever-co/ever-gauzy-sdk-go.git
cd ever-gauzy-sdk-go
go mod tidy
go build ./...
go test ./...

SDK Generation

This SDK is auto-generated from the Ever Gauzy OpenAPI specification using Microsoft Kiota. To regenerate, trigger the "Generate SDK" GitHub Action workflow.

License

This SDK is licensed under the MIT license.

Links

About

Ever® Gauzy™ Go SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages