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. 公共参数::
  2. 认证:

    >>> 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)
  3. 调用函数(如显示所有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.4.0.tar.gz (14.4 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for python-plcloudclient-1.4.0.tar.gz
Algorithm Hash digest
SHA256 614d6beff07ca50aed6f6f5f01b3ad4e611538f81480e780a4d2114f806e4b6b
MD5 a7964a8f4902429fb64cdc08484e7f36
BLAKE2b-256 487d9707ba8bb12eb353669affdb28d5761cd4712ed0b4728ab55d1d809ee481

See more details on using hashes here.

Supported by

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