go-smith is a Go client library for the Stacksmith API. Check the folder example to learn how to use the Stacksmith API.
go get github.com/JesusTinoco/go-smith/stacksmith
Read GoDoc
APIKey := "<API_KEY_STACKSMITH>"
client := stacksmith.NewClient(APIKey, nil)
pag := &stacksmith.PaginationParams{Page: 1, PerPage: 100}
// Get all the stacks created
stacksList, _, _ := client.Stacks.List(pag)
fmt.Println(fmt.Sprintf("You have %d stacks.", len(stacksList.Items)))
Bug reports and pull requests are welcome.