接入指南 调用地址 API 的调用地址: 二、签名示例 认证头部header部分 名称 描述 是否必选 示例 ContentType 消息体的类型 是 application/json ctyuneoprequestid 流水号 是 0ffb9b07d5a84e19b3ce12dfb9705a1d EopAuthorization 签名认证信息 是 4a4bdc57e06542199b5f98d4cd107be2 Headersctyuneoprequestid;eopdate Signatureb2WEo4nh9ewn6SWOP0ii5g8L0z9CT5gprpDWntlCX9I Eopdate 时间,15分钟有效期(实际传时间为北京东八区UTC+8时间。TZ仅为格式,非UTC时间。) 是 20221107T093029Z Python Python SDK 下载地址: 调用方法:将下面代码复制到下载的 sdk 代码最下面后执行 python 认证信息 ak "your ak" sk "your sk" endpoint " 请求路径 path1 "/v3/cluster/describeRegionClusters" path2 "/v3/cluster/describeInstanceSpec" path3 "/v3/vpc/createVPC" 请求参数 params1 {} params2 {"nodeCode": "hnchangde1"} params3 {"nodeCode": "hnchangde1"} 发起请求 response1 get(f"{endpoint}{path1}", params1) response2 get(f"{endpoint}{path2}", params2) response3 post(f"{endpoint}{path2}", "", params3) 打印响应 print("Response for describeRegionClusters:") print(json.loads(response1)) print("nResponse for describeInstanceSpec:") print(json.loads(response2))