Categorygithub.com/OGKevin/go-wavy
repository
0.1.1
Repository: https://github.com/ogkevin/go-wavy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-wavy

Go Reference

Golang client for interacting with wavy.fm.

Installation

go get github.com/OGKevin/go-wavy/wavy

Usage

import "github.com/OGKevin/go-wavy/wavy"

ctx, cancel := context.WithCancel(context.Background())
defer cancel()

c := wavy.NewClient(ctx, hclog.NewNullLogger(), os.Getenv("CLIENT_ID"), os.Getenv("CLIENT_SECRET")
profile, err := c.UserService().GetProfile(ctx, wavy.UserURI{Username: "OGKevin"})
if err != nil {
    panic(err)
}

License

MIT