bh_oauth-2.0.0
توضیحات
bullhorn.com REST API Client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bh_oauth-2.0.0 |
| نام | bh_oauth |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Narūnas Krasauskas |
| ایمیل نویسنده | narun4sk@gmail.com |
| آدرس صفحه اصلی | https://github.com/narunask/BH_OAuth |
| آدرس اینترنتی | https://pypi.org/project/bh_oauth/ |
| مجوز | BSD 3-Clause License |
bullhorn.com REST API Client
----------------------------
*Dependencies*:
- `requests`_ - HTTP for Humans
*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.
.. _requests: http://docs.python-requests.org/en/master/user/install/#install
نحوه نصب
نصب پکیج whl bh_oauth-2.0.0:
pip install bh_oauth-2.0.0.whl
نصب پکیج tar.gz bh_oauth-2.0.0:
pip install bh_oauth-2.0.0.tar.gz