Skip to main content

QDataV2 adapter for jky

Project description

JkyAdapter

QDataV2 吉客云(Jky)数据集成适配器

广东轻亿云软件科技有限公司 开发
「轻易云数据集成平台」官方适配器

Python 3.11+ License: AGPL v3 PyPI version CI


功能作用

本适配器用于集成 吉客云开放平台https://open.jackyun.com/),通过 invoke() 方法可调用吉客云提供的全部 API 接口,包括但不限于:

  • 供应商管理(查询、创建、更新、停用)
  • 订单数据同步
  • 商品信息管理
  • 库存数据查询
  • 客户管理
  • 财务对账
  • 更多 API...

多接口支持

本适配器支持多种接口模式,通过 settings.interface 参数切换:

接口 说明 适用场景
standard(默认) 主接口 标准业务集成
qimen 奇门网关接口 特殊网关需求

统一调用方式

使用 invoke() 方法可调用吉客云平台的任意 API:

# 查询列表
result = await adapter.invoke(
    method="query",
    object_type="oms.trade.fullinfoget",
    params={"pageNo": 1, "pageSize": 100}
)

# 获取单个对象
result = await adapter.invoke(
    method="get",
    object_type="erp.vend.get",
    params={"code": "VENDOR_001"}
)

# 创建对象
result = await adapter.invoke(
    method="create",
    object_type="erp.vend.create.v2",
    data={"code": "NEW_VENDOR", "name": "新供应商", ...}
)

# 更新对象
result = await adapter.invoke(
    method="update",
    object_type="erp.vend.update",
    data={"vendId": "123", "name": "更新后的名称", ...}
)

快速开始

查看 QUICKSTART.md 获取 5 分钟上手指南。

# 安装
pip install qdata-adapter-jky

# 配置环境变量
cp .env.example .env
# 编辑 .env 填入你的 API 凭据

# 运行示例
python examples/quickstart.py

API 文档

认证配置

Standard 接口

环境变量 说明
JKY_APP_KEY 应用密钥
JKY_APP_SECRET 应用密码
JKY_TOKEN 访问令牌
JKY_VERSION API 版本(默认 1.0)

Qimen 接口

环境变量 说明
JKY_QIMEN_APP_KEY 应用密钥
JKY_QIMEN_APP_SECRET 应用密码
JKY_QIMEN_JKY_APP_KEY 吉客云应用 Key
JKY_QIMEN_JKY_APP_SECRET 吉客云应用密钥
JKY_QIMEN_CUSTOMER_ID 吉客云客户 ID

License

AGPL-3.0 © 广东轻亿云软件科技有限公司

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

qdata_adapter_jky-0.1.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

qdata_adapter_jky-0.1.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file qdata_adapter_jky-0.1.0.tar.gz.

File metadata

  • Download URL: qdata_adapter_jky-0.1.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qdata_adapter_jky-0.1.0.tar.gz
Algorithm Hash digest
SHA256 16cd0b219818306d1ec016d13265d52114ebd61ea8c2150ca3b55ab85f124382
MD5 6a91d536162a642f78fa7d579af63452
BLAKE2b-256 6820a54b36d243f6e53c53c5928f65b05cc276a510758837ea7e7af36ce08419

See more details on using hashes here.

Provenance

The following attestation bundles were made for qdata_adapter_jky-0.1.0.tar.gz:

Publisher: publish.yml on vincent067/qdata-adapter-jky

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qdata_adapter_jky-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qdata_adapter_jky-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee442816cc53cb783fc5c4c57e4f862237792b38323ad0aa079c1f593846124e
MD5 b59a68490176a290afb0ce0ead86f090
BLAKE2b-256 f95846b649b0f1df6aaf8658e1843edd035026bf23f2d055351d4b01f73f1657

See more details on using hashes here.

Provenance

The following attestation bundles were made for qdata_adapter_jky-0.1.0-py3-none-any.whl:

Publisher: publish.yml on vincent067/qdata-adapter-jky

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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