Skip to content

assetcloud/zcy-sdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python SDK的用法说明

安装:

python setup.py install

Get调用方法:

from AssetCloud import AssetCloudRequest

AssetCloudRequest.http_request(
    url = '',
    key = '', 
    secret = '', 
    httpMethods = 'GET')

Post调用方法:

from AssetCloud import AssetCloudRequest

AssetCloudRequest.http_request(
    url = '',
    key = '', 
    secret = '', 
    body = '', 
    httpMethods = 'POST')

Delete调用方法:

from AssetCloud import AssetCloudRequest

AssetCloudRequest.http_request(
    url = '',
    key = '', 
    secret = '', 
    httpMethods = 'DELETE')

Put调用方法:

from AssetCloud import AssetCloudRequest

AssetCloudRequest.http_request(
    url = '',
    key = '', 
    secret = '', 
    body = '', 
    httpMethods = 'PUT')

返回结果为:dict

字段 类型 说明
code int 状态码
success boolean 是否成功
data dict 数据
msg string 返回消息

Releases

No releases published

Packages

No packages published

Languages