Skip to main content

sdks for open platforms

Project description

cutesdk

Quick Start

  • install cutesdk
pip install --upgrade cutesdk
  • use wxapp sdk

when you want to request a wxapp api such as: analysis.getDailyRetain

you can code in python like below:

from cutesdk.wxapp import WxApp, ACCESS_TOKEN

sdk = WxApp(
    appid='xxx', 
    app_secret='xxx',
)

api_path = '/datacube/getweanalysisappiddailyretaininfo'
params = {
    'access_token': ACCESS_TOKEN,
}
data = {
    'begin_date': '20220102',
    'end_date': '20220102',
}

res = sdk.api_post(api_path, params, data)

print(res)

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

cutesdk-0.1.4.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

cutesdk-0.1.4-py3-none-any.whl (3.7 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