Skip to main content

An unofficial Bullhorn REST API client written in Python.

Project description

PyHorn

An unofficial Python client to interact with Bullhorn's REST API. We developed this client to facilitate the integration of FLOW's systems with Bullhorn, and decided to disclose the source for any other developers that may find it useful.

Installation

pip install pyhorn-flow

Authentication

Authentication requires a simple JSON file containing the following auth-related data (provided by Bullhorn themselves):

  • username
  • password
  • client_id
  • client_secret

Other fields are filled automatically and stored in file_name for better use of the authenticated session.

{
 "file_name": "auth.json",
 "client_id": "GUIDprovidedbybullhorn",
 "client_secret": "secretprovidedbybullhorn",
 "username": "apiuser",
 "password": "yourpasswordshouldgohere"
}

Supported Functions

  • Ping
  • Search
  • Query
  • Entity
    • Create
    • Update
    • Delete
  • To-many
    • Create association
    • Delete association
  • Event
    • Subscription
    • Request
    • Retry
    • Get last request ID

Changelog

v1.1.0

  • Added functions to subscribe to Bullhorn events and read them

v1.0.0

  • Added safe request to re-authorize requests when 401 is returned from API
  • Added Entity creation, update and deletion
  • Added To-many association and dissociation
  • Added Search and Query functionalities
  • Added Ping functionality and automatic session renewal
  • Added authentication flow

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

pyhorn-flow-1.3.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pyhorn_flow-1.3.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file pyhorn-flow-1.3.1.tar.gz.

File metadata

  • Download URL: pyhorn-flow-1.3.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1

File hashes

Hashes for pyhorn-flow-1.3.1.tar.gz
Algorithm Hash digest
SHA256 61401193b1a113c93f292a75cef98392abb250f8b0a604935811d6fd75a07fe3
MD5 cbe9ae3fab962b49b571aa53599ad819
BLAKE2b-256 644448fa6f6560582eed30655aaedd461d5d498211b97656021ba1004c4a313d

See more details on using hashes here.

File details

Details for the file pyhorn_flow-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: pyhorn_flow-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1

File hashes

Hashes for pyhorn_flow-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47eb8bc83a7e588592c0cec371ddb1d2417fa14ba221a96fd79b3de0b70e3c98
MD5 c6efe459f79776a887de9c0bdf960832
BLAKE2b-256 5a9c673ee14743ad7378b076de37862043cbef7ac37c804f9a227b79f5c1940c

See more details on using hashes here.

Supported by

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