Skip to content

The unofficial SDK to make balena powered Go applications.

License

Notifications You must be signed in to change notification settings

ChampInfo/balena-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Balena Go

PkgGoDev




Balena Go is a library for accessing the Balena API

Balena API docs can be found here



Install

go get go.einride.tech/balena

Usage

import "go.einride.tech/balena"

Authentication

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

About

The unofficial SDK to make balena powered Go applications.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.4%
  • Makefile 2.3%
  • Other 0.3%