Skip to content

Releases: sunmi-OS/sunmi-openapi-python-sdk

v1.0.1

20 Mar 06:01
866dc2b

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

20 Mar 05:53
7f1e793

Choose a tag to compare

Sunmi AppStore OpenAPI Python SDK v1.0.0

Initial public release of a lightweight Python SDK for the Sunmi AppStore OpenAPI, providing authentication, request signing, and ready-to-use examples for every API endpoint.

Features

  • SunmiAppStoreClient — handles HMAC-SHA256 request signing, JSON POST requests, and multipart file uploads
  • Full API coverage — 13 example scripts covering the entire app lifecycle:
    • Get app category list, terminal list, language list
    • Upload APK / image assets
    • Create app, get app detail, update app detail
    • Upgrade app version, get audit result, get newest version info
    • Update version deployment detail, remove app
  • MD5 checksum — built-in chunked MD5 calculation for upload verification

Requirements

  • Python 3.7+
  • requests, requests-toolbelt

Quick Start

export SUNMI_APP_ID="your_app_id"
export SUNMI_APP_KEY="your_app_key"
pip3 install -r requirements.txt
python3 04_upload_apk.py