pyvend:用于 Python 的翻转 API 包装器

时间:2021-07-12 12:49:19
【文件属性】:
文件名称:pyvend:用于 Python 的翻转 API 包装器
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-12 12:49:19
Python pyvend 是 Python 的瘦 Vend API 包装器 用法 这里有些例子。 import os import vend # Authorization auth = vend.Auth(os.environ['VEND_CLIENT_ID'], os.environ['VEND_CLIENT_SECRET'], os.environ['VEND_REDIRECT_URI']) auth_url = auth.get_auth_url() # send retailer to this URL to authorize your client app ... token = auth.request_token(code, domain_prefix) # API api = API(token) api.customers(params={'email': 'aleks.se
【文件预览】:
pyvend-master
----setup.py(573B)
----.gitignore(41B)
----LICENSE(1KB)
----README.md(1KB)
----vend()
--------__init__.py(5KB)
----test.py(5KB)

网友评论