文件名称:brightpearl-python:适用于Brightpearl API的Python客户端库
文件大小:14KB
文件格式:ZIP
更新时间:2024-04-25 13:55:41
Python
Brightpearl API Python客户端 包装请求库以与Brightpearl API进行通信。 用法 Brightpearl验证流程 from brightpearl.api import BrightPearlAPI # To get authorization URL auth_url = api.authorization_url(authorization_redirect_url= " http://localhost/redirect_url " ) # To get access token api.oauth_fetch_token(code= " XYZ " , access_redirect_url= " http://localhost/access_redirect_url " ) # To refresh token api.refresh_token
【文件预览】:
brightpearl-python-master
----.gitignore(1KB)
----README.md(887B)
----examples()
--------auth.py(418B)
--------__init__.py(0B)
--------resource.py(337B)
----brightpearl()
--------api.py(4KB)
--------resources()
--------exceptions.py(214B)
--------utils.py(105B)
--------connection.py(4KB)
----requirements.txt(88B)
----setup.py(627B)
----tox.ini(272B)