pyxero:用于访问Xero计费工具的REST API的Python API

时间:2021-05-01 01:53:47
【文件属性】:
文件名称:pyxero:用于访问Xero计费工具的REST API的Python API
文件大小:55KB
文件格式:ZIP
更新时间:2021-05-01 01:53:47
Python 派罗 PyXero是用于访问计费工具提供的REST API的Python API。 它允许访问公共,私有和合作伙伴应用程序。 快速开始: 使用python软件包管理器安装此库: pip install pyxero 您需要遵循来注册您的应用程序。 请按照以下步骤进行操作: 公开申请 公共应用程序使用三步OAuth流程。 当您,将获得一个“消费方密钥”和一个“消费方秘密” 。 这些都是字符串。 要访问Xero API,您必须首先创建一些凭据: >> > from xero . auth import PublicCredentials >> > credentials = PublicCredentials ( < consumer> , < consumer> ) >> > print credentials . url 'http://my.xero
【文件预览】:
pyxero-master
----setup.py(2KB)
----.gitignore(121B)
----MANIFEST.in(260B)
----LICENSE(2KB)
----xero()
--------payrollmanager.py(949B)
--------__init__.py(59B)
--------filesmanager.py(7KB)
--------manager.py(1KB)
--------projectmanager.py(5KB)
--------constants.py(2KB)
--------utils.py(4KB)
--------api.py(3KB)
--------basemanager.py(16KB)
--------auth.py(23KB)
--------exceptions.py(4KB)
----setup.cfg(453B)
----.github()
--------workflows()
----examples()
--------partner_oauth_flow()
--------public_oauth_flow()
--------receipts_importer()
----README.md(21KB)
----ChangeLog.rst(1KB)
----tests()
--------__init__.py(0B)
--------mock_data.py(4KB)
--------manager.py(14KB)
--------utils.py(3KB)
--------auth.py(19KB)
--------exceptions.py(14KB)
----tox.ini(343B)

网友评论