齐欣云服接口
Project description
齐欣云服 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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qixinApi-0.0.7.tar.gz
(3.4 kB
view hashes)