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.2.0.tar.gz
(14.0 kB
view hashes)
Close
Hashes for python-plcloudclient-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264f90f4d580271824b0a0831d5dac334454e6a595e1b0e8898425456e152743 |
|
MD5 | 9686de026b8cb039b214a8a704d9a2e1 |
|
BLAKE2b-256 | ef83bd1a5d743e7942e84ed5c8ac7f21093dd783c2df575aa58a30d30434f332 |