Home

Awesome

go-smith Build Status Go Report Card GoDoc

go-smith is a Go client library for the Stacksmith API. Check the folder example to learn how to use the Stacksmith API.

Install

go get github.com/JesusTinoco/go-smith/stacksmith

Documentation

Read GoDoc

Usage

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)))

Contributing

Bug reports and pull requests are welcome.

License

MIT License