【文件属性】:
文件名称:pipedrive-python:用Python编写的Pipedrive包装器
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-16 19:45:50
python api webhooks wrapper oauth
管道驱动器python
pipedrive-python是用Python编写的的API包装器。
正在安装
pip install pipedrive-python-lib
用法
将此库与OAuth 2.0结合使用
客户端实例化
from pipedrive.client import Client
client = Client('CLIENT_ID', 'CLIENT_SECRET')
获取授权网址
url = client.authorization_url('REDIRECT_URL')
将代码交换为访问令牌
token = client.exchange_code('REDIRECT_URL', 'CODE')
在库中设置访问令牌
client.set_access_token('ACCESS_TOKEN')
刷新令牌
token = client.refresh_t
【文件预览】:
pipedrive-python-master
----.gitignore(1KB)
----README.md(9KB)
----pipedrive()
--------persons.py(1KB)
--------pipelines.py(587B)
--------filters.py(926B)
--------exceptions.py(742B)
--------notes.py(1KB)
--------users.py(504B)
--------recents.py(254B)
--------stages.py(1KB)
--------products.py(1KB)
--------activities.py(1KB)
--------webhooks.py(721B)
--------__init__.py(0B)
--------organizations.py(1KB)
--------client.py(5KB)
--------deals.py(4KB)
----LICENSE(1KB)
----MANIFEST.in(18B)
----setup.py(614B)