Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 419 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 419 Bytes

bamboohr

An API wrapper for the BambooHR platform

Usage

Create a new client with bamboohr.New()

bbhr, err := bamboohr.New(BBHRNewInput{
  "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))