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
- Host: GitHub
- URL: https://github.com/helixspiral/bamboohr
- Owner: HelixSpiral
- License: gpl-3.0
- Created: 2021-10-14T01:35:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T22:09:08.000Z (over 2 years ago)
- Last Synced: 2025-01-26T07:23:56.499Z (over 1 year ago)
- Topics: api-wrapper, bamboohr, golang, hr, humanresourcemanagement, humanresources
- Language: Go
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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))
```