An open API service indexing awesome lists of open source software.

https://github.com/helixspiral/bamboohr

An API wrapper for the BambooHR platform
https://github.com/helixspiral/bamboohr

api-wrapper bamboohr golang hr humanresourcemanagement humanresources

Last synced: about 1 year ago
JSON representation

An API wrapper for the BambooHR platform

Awesome Lists containing this project

README

          

# bamboohr
An API wrapper for the BambooHR platform

## Usage
Create a new client with `bamboohr.New()`

```go
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.
```go
resp, err := bbhr.GetEmployees()
if err != nil {
panic(err)
}

fmt.Println(string(resp))
```