go-smith

module
v0.0.0-...-605def9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2016 License: MIT

README

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL