python-plcloudclient 1.4.0

Last updated:

0 purchases

python-plcloudclient 1.4.0 Image
python-plcloudclient 1.4.0 Images
Add to Cart

Description:

pythonplcloudclient 1.4.0

宝德云API SDK (http://console.plcloud.com)



依赖

python-keystoneclient >= 0.8.0



提供的SDK有

CDN (CDN服务)
Ticket (工单服务)



使用概述


公共参数::

API auth_url: http://api.plcloud.com:5001/v2.0
username: 用户登录名
password: 用户登录密码
tenant_name: 用户登录名




认证:
>>> from plcloudclient.v1_0 import client
>>> username='demo'
>>> password='secreetword'
>>> tenant_name='demo'
>>> auth_url='http://api.plcloud.com:5001/v2.0'
>>> plcloud = client.Client(username=username, password=password,
... tenant_name=tenant_name, auth_url=auth_url)

调用函数(如显示所有CDN域名):
>>> from plcloudclient.v1_0 import client
>>> plcloud = client.Client(...)
>>> plcloud.cdn.list()

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.