PLCloud API SDK
Project description
宝德云API SDK (http://console.plcloud.com)
依赖
python-keystoneclient >= 0.8.0
提供的SDK有
CDN (CDN服务)
Ticket (工单服务)
使用概述
认证
- ::
>>> from plcloudclient.v1_0 import client >>> username='demo' >>> password='secreetword' >>> tenant_name='demo' >>> auth_url='http://192.168.106: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()
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
python-plcloudclient-1.1.0.tar.gz
(12.5 kB
view hashes)
Close
Hashes for python-plcloudclient-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1ad83a64362bced8b23ef4df8a380ee4730a109c537bcbb82ed76ce86dbfb0 |
|
MD5 | 3e4e329fd8930d9b170dbb5a60439f41 |
|
BLAKE2b-256 | e08081ae961d71856484b6f2e5b0e09020dda2eb90857be781c9eff6758c7129 |