PLCloud API SDK
Project description
宝德云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()
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
File details
Details for the file python-plcloudclient-1.2.0.1.g9fcd460.tar.gz
.
File metadata
- Download URL: python-plcloudclient-1.2.0.1.g9fcd460.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 510ccb27d66979ebd941abb9d3bc3c63d015d235aa43e871441f70679ba11a3b |
|
MD5 | b57f17a0ecdb07ab3c8fc41df3c1d94d |
|
BLAKE2b-256 | b64277a155ca10f0f2d8d2c9edde8572b9e27e98bb15cc21e12b8ebe226616c5 |