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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file qixinApi-0.0.7.tar.gz.

File metadata

  • Download URL: qixinApi-0.0.7.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for qixinApi-0.0.7.tar.gz
Algorithm Hash digest
SHA256 f1579c92a8de34187e43e1241068e25353366ad81fa5e701dc2d9e5aa76e31dc
MD5 2535387e47590debe2aef33138e02687
BLAKE2b-256 624254ea5ee59582de918be68dfa06bcce17797a186f515bd22af9ce8afc5f3c

See more details on using hashes here.

File details

Details for the file qixinApi-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: qixinApi-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for qixinApi-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2b73eae9ec4fe1dea65e5af2723e6db245eee2098b6c22b8d47f128c8f383ab3
MD5 dbb17dec8af6be305c61547f3e8c853b
BLAKE2b-256 1562245429948503bbb48e34f78f090a04915b46ec53f3ec7b3da64b4b125475

See more details on using hashes here.

Supported by

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