Skip to content

popbo/zcy-sdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0565b20 · Mar 25, 2021

History

1 Commit
Mar 25, 2021
Mar 25, 2021
Mar 25, 2021
Mar 25, 2021
Mar 25, 2021

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 返回消息

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages