Skip to content

bobuild/bobuild-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API wrapper for Bobuild apps

This simple module helps you interact with API of apps built with Bobuild. More information is available in the official documentation at https://docs.bobuild.com/advanced/api/

Installation

go get github.com/bobuild/bobuild-client-go

Usage

import "github.com/bobuild/bobuild-client-go"

// Initialize the client
client := bobuild.NewClient("yourapp.bobuild.com", "your-api-token")

// Define your record type
type Customer struct {
    Name  string `json:"name"`,
    Email string `json:"email"`,
}

customers, err := bobuild.GetList[Customer](client, "/customers")
if err != nil {
    log.Fatal(err)
}

About

Go API wrapper for Bobuild apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages