Skip to content

miguelbemartin/circleso-go

Repository files navigation

Circle.so API v1 Go client

Go GoDoc Go Report Card License MIT

Provides access to the Client.so Platform v1 REST API. This is not an official SDK. Golang wrapper around the Circle.so API v1.

This library does not currently cover all endpoints and will be implemented as and when they are needed by my internal projects. Feel free to add contribute to the project.

Installation

go get github.com/miguelbemartin/circleso-go

Usage

package main

import (
	"context"
	"fmt"
	circle "github.com/miguelbemartin/circleso-go"
)

func main() {

	c := circle.NewClient("your-api-token")

	members, err := c.GetMembers(context.Background(), nil)
	if err != nil {
		// do something with the error
	}

	// iterate the members
	for _, member := range members {
		// do something
	}

}

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details