Skip to main content

PLCloud API SDK

Project description

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

Latest Version Downloads

依赖

  1. python-keystoneclient >= 0.8.0

提供的SDK有

  1. CDN (CDN服务)

  2. Ticket (工单服务)

使用概述

  1. 认证

::
>>> 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)
  1. 调用函数(如显示所有CDN域名)

::
>>> from plcloudclient.v1_0 import client
>>> plcloud = client.Client(...)
>>> plcloud.cdn.list()

Project details


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 details)

Uploaded Source

File details

Details for the file python-plcloudclient-1.2.0.tar.gz.

File metadata

File hashes

Hashes for python-plcloudclient-1.2.0.tar.gz
Algorithm Hash digest
SHA256 264f90f4d580271824b0a0831d5dac334454e6a595e1b0e8898425456e152743
MD5 9686de026b8cb039b214a8a704d9a2e1
BLAKE2b-256 ef83bd1a5d743e7942e84ed5c8ac7f21093dd783c2df575aa58a30d30434f332

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page