Skip to main content

齐欣云服接口

Project description

齐欣云服 API

Org Author License python PyPI

操作 方法
账户列表查询 .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)

Uploaded Source

Built Distribution

qixinApi-0.0.7-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page