A general client to interface with the SauceLabs API with Go.
- Get all builds /rest/v1/user/builds
- Get all jobs /rest/v1/user/jobs
func main() {
//provide a sauce key and username in which to retrieve information from
c := sauce.NewClient(os.Getenv("SAUCE_KEY"), os.Getenv("SAUCE_USER"), "base url, leave empty string for default")
//retrieve builds, for example...
builds, err := c.GetBuilds()
if err == nil {
//do something with builds slice...
}
}
Many items are still pending, including but not limited to...
- Operations on sauce types
- Remaining APIs