This is a Go implementation of the setlisft.fm API 1.0 specification which can be found here. This wrapper requires no external libraries.
go get github.com/jmg-duarte/setlistfm
package main
import (
"fmt"
"github.com/jmg-duarte/setlistfm"
)
client := setlistfm.NewClient("api-key")
func main() {
ctx := context.Background()
fmt.Println(client.ArtistByMBID(ctx, "3bd680c8"))
}
- Finish documentation
- Add better documentation for types
- Add more useful methods to types
- Handle errors when parsing JSON API response
- Add more usage examples
- Do some actual testing