Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bullhorn-0.0.5.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bullhorn-0.0.5-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file bullhorn-0.0.5.tar.gz.

File metadata

  • Download URL: bullhorn-0.0.5.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for bullhorn-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3f7e03f907487b13fe782db482ee877f99b3e3da349889b6aa310e5dd66ad5da
MD5 ee3169d8d4d6e45de20d19bda36236d3
BLAKE2b-256 15f727749ddac4e78a41a9a896f1809a65a7c03d56592f0fe3b94cd16d0498f5

See more details on using hashes here.

File details

Details for the file bullhorn-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: bullhorn-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for bullhorn-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a54caae0df7ffebafa150ca89fe3c9834c78ccea26d42bd9c12702a6f70029f6
MD5 c7a204cc96e932d57d31c6f0bc8e53d6
BLAKE2b-256 a66333b4b390f466a34345f5ccbcd343d8aaf7e97be46cbb24cd18c9287ec7e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page