齐欣云服 API
| 操作 | 方法 |
|---|---|
| 账户列表查询 | .get_partner_info_list() |
| 订单详情 | .get_order(insure_num) |
| 投保单列表 | .list_order() |
| 查询昨日投保单 | .list_yesterday_order() |
from qixinApi.qixinApi import QxSdk
pId = ''
sKey = ''
client = QxSdk(partner_id=pId, secret_key=sKey)
# client = QxSdk(partner_id=pId, secret_key=sKey, env_type='test')
try:
for item in client.list_order(page_index=1, page_size=1)['orders']['data']:
detail = client.get_order(item['insureNum'])
print(detail['orderDetail']['applicant']['cName'])
print(detail['orderDetail']['productName'])
finally:
client.close()
Metadata
Release files for qixinApi 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qixinApi-0.0.7.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qixinApi-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / qixinApi-0.0.7.tar.gz
| Download URL | qixinApi-0.0.7.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1579c92a8de34187e43e1241068e25353366ad81fa5e701dc2d9e5aa76e31dc
|
|
BLAKE2b-256 checksum How to use checksums |
624254ea5ee59582de918be68dfa06bcce17797a186f515bd22af9ce8afc5f3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|
Release files / qixinApi-0.0.7-py3-none-any.whl
| Download URL | qixinApi-0.0.7-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b73eae9ec4fe1dea65e5af2723e6db245eee2098b6c22b8d47f128c8f383ab3
|
|
BLAKE2b-256 checksum How to use checksums |
1562245429948503bbb48e34f78f090a04915b46ec53f3ec7b3da64b4b125475
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|