Balena Go is a library for accessing the Balena API
Balena API docs can be found
here
go get go.einride.tech/balena
import "go.einride.tech/balena"
An Authentication Token can be used to authenticate with the API
You can then use your token to create a new client:
package main
import (
"context"
"go.einride.tech/balena"
)
const (
token = "mytoken"
)
func main() {
// We supply a nil http client to make use of http.DefaultClient
client := balena.New(nil, token)
}