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.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-plcloudclient-1.2.0.tar.gz (14.0 kB) Copy SHA256 hash SHA256 Source None Dec 26, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page