Python wrapper for the Bullhorn REST API
Project description
bullhorn
bullhorn is an unofficial REST API wrapper for the Bullhorn CRM, implemented in Python.
Features
- Seamless interaction with the Bullhorn REST API.
- Simplified access to candidates, jobs, placements and other entity types.
- Error handling, including retries, and proper API response validation.
Installation
You can install bullhorn using pip:
pip install bullhorn
Getting Started
bullhorn requires you to have a session token and REST URL from Bullhorn.
Authentication from earlier in the pipeline will be added in a later release.
import os
from bullhorn.client import BullhornClient
# Get credentials
session_token = os.environ.get("BULLHORN_SESSION_TOKEN")
rest_url = os.environ.get("BULLHORN_REST_URL")
# Initialise Bullhorn client with credentials
bc = BullhornClient(
token=session_token,
rest_url=rest_url,
)
# Get list of candidates
candidates = bc.get_candidates(
query="dateLastModified:{2023/01/01 TO *}",
fields="id,firstName,lastName",
)
print("Success: %r" % (candidates))
Contribution
Contributions to bullhorn are welcome! If you encounter any issues or have suggestions for improvements, please feel free to create an issue or submit a pull request on the GitHub repository at https://github.com/recruithub/bullhorn.
License
bullhorn is released under the MIT License. See LICENSE for more information.
Disclaimer
This package is not officially affiliated with or endorsed by Bullhorn. Use it at your own risk, and make sure to comply with the Bullhorn API usage terms and conditions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bullhorn-0.0.12.tar.gz.
File metadata
- Download URL: bullhorn-0.0.12.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbd780c77fcd8b478848510efeb8d081369e1364cfb786e8e20eb7b010ee7438
|
|
| MD5 |
069e0e74d43b38f027ae6926800cf744
|
|
| BLAKE2b-256 |
4c851db749fcbf227c6ea2931cacc97e0580ecc429158ff7ac39b65d342fe359
|
File details
Details for the file bullhorn-0.0.12-py3-none-any.whl.
File metadata
- Download URL: bullhorn-0.0.12-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0056d232fe5253a2cc6f197b86ad50c8632d1dcb28708db508efae351afe86e3
|
|
| MD5 |
1c06ec84500bd7f97870a69ea0a7896a
|
|
| BLAKE2b-256 |
0a7ada3e1421ca9c3b9679a4dfa6c3d10c6713babbc131a36a0ae3ed2bb54e76
|