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
Release history Release notifications | RSS feed
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)