Skip to main content

bullhorn.com REST API Client

Project description

Dependencies:

Quick Example:

auth = dict(
    client = "Bullhorn OAuth Client ID",
    secret = 'Bullhorn OAuth Client Secret',
    usr = "Bullhorn Username",
    pwd = "Bullhorn Password")

bhr = BHRest(**auth)
# If in the sandbox environment - update URLs
bhr._auth_url = "https://auth9.bullhornstaffing.com/oauth"
bhr._rest_url = "https://rest9.bullhornstaffing.com/rest-services"

print bhr.access_token
print bhr.find(query="+12345678")

Features:

  • Automatically refresh rest_token/url if access_token has expired.

  • Search the following entity types given a string containing search terms:

    • ClientContact

    • JobOrder

    • Candidate

    • ClientCorporation

    • Lead (if leadsAndOpportunitiesEnabled = true)

    • Opportunity (if leadsAndOpportunitiesEnabled = true)

    • To search through the phone numbers start query with the “+” and append last 8 digits.

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

bh_oauth-2.0.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file bh_oauth-2.0.0.tar.gz.

File metadata

  • Download URL: bh_oauth-2.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bh_oauth-2.0.0.tar.gz
Algorithm Hash digest
SHA256 90a1ea888cf49eaf7b1c6fbcc84bf472409dcca27c0097fc4170b1a806ea3773
MD5 2520000396e30a6953d1dcb0b52bbd8d
BLAKE2b-256 e8ca470da6fdd0769a6135caab79170dd5719e1269440044cac9b3894d7ce6b9

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