Skip to content

bcc-code/bmm-sdk-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang SDK for BMM

Status

This SDK implements only the things needed by BCC Media at the moment. It is primarily meant for use in the backend.

PRs expanding it are welcome.

Usage

import (
    "github.com/bcc-code/bmm-sdk-golang"
)

func main() {
    token, err:= bmm.Token(...)
    if err != nil {
        panic(err)
    }
    
    client := bmm.NewApiClient("http://bmm.base.url", token)
}

Logging

Internally the SDK uses the slog package for logging. A custom logger can be set using the SetLogger(logger *slog.Logger) method.

About

Golang based implementation of the BMM API. Primarily for backend communication

Resources

License

Stars

Watchers

Forks

Packages

No packages published