/bamboohr

An API wrapper for the BambooHR platform

Primary LanguageGoGNU General Public License v3.0GPL-3.0

bamboohr

An API wrapper for the BambooHR platform

Usage

Create a nwe client with bamboohr.New()

bbhr, err := bamboohr.New(map[string]interface{}{
  "company": "TestCompany",
  "apikey": "KEYHERE",
}
if err != nil {
  panic(err)
}

Use any of the built-in functions to query against your BambooHR instance.

resp, err := bbhr.GetEmployees()
if err != nil {
    panic(err)
}

fmt.Println(string(resp))