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.
Metadata
Release files for bullhorn 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bullhorn-0.0.12.tar.gz | 19.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bullhorn-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.2 kB
Release files / bullhorn-0.0.12.tar.gz
| Download URL | bullhorn-0.0.12.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbd780c77fcd8b478848510efeb8d081369e1364cfb786e8e20eb7b010ee7438
|
|
BLAKE2b-256 checksum How to use checksums |
4c851db749fcbf227c6ea2931cacc97e0580ecc429158ff7ac39b65d342fe359
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / bullhorn-0.0.12-py3-none-any.whl
| Download URL | bullhorn-0.0.12-py3-none-any.whl |
|---|---|
| Size | 27.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0056d232fe5253a2cc6f197b86ad50c8632d1dcb28708db508efae351afe86e3
|
|
BLAKE2b-256 checksum How to use checksums |
0a7ada3e1421ca9c3b9679a4dfa6c3d10c6713babbc131a36a0ae3ed2bb54e76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|