A python wrapper around BambooHR's APIs
Project description
# BambooHR Python Library
----
This library eases the use of the BambooHR REST API. It is an unofficial Python API for BambooHR.
This library require two additional libraries (xmltodic, rfc6266) to handle some special requests.
To use this library you can do
```python
from bamboopy import Employees
employees = Employees(
api_key='MYCOMPANYAPIKEY',
company='companyname')
employees = employees.directory()
```
This will give you a list of employees
You can also upload files to BambooHR
```python
from bamboopy import Employees
employees = Employees(
api_key='MYCOMPANYAPIKEY',
company='companyname')
employees.upload_file(
123,
category=12,
file='./Contract_template.pdf',
filename="Contract.pdf")
```
----
This library eases the use of the BambooHR REST API. It is an unofficial Python API for BambooHR.
This library require two additional libraries (xmltodic, rfc6266) to handle some special requests.
To use this library you can do
```python
from bamboopy import Employees
employees = Employees(
api_key='MYCOMPANYAPIKEY',
company='companyname')
employees = employees.directory()
```
This will give you a list of employees
You can also upload files to BambooHR
```python
from bamboopy import Employees
employees = Employees(
api_key='MYCOMPANYAPIKEY',
company='companyname')
employees.upload_file(
123,
category=12,
file='./Contract_template.pdf',
filename="Contract.pdf")
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bamboopy-0.0.5.tar.gz
(9.7 kB
view hashes)
Built Distribution
bamboopy-0.0.5-py3-none-any.whl
(11.5 kB
view hashes)