1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
"""
SoftLayer Python API Client
~~~~~~~~~~~~~~~~~~~~~~~~~~~
SoftLayer API bindings
Usage:
>>> import SoftLayer
>>> client = SoftLayer.create_client_from_env(username="username",
api_key="api_key")
>>> resp = client.call('Account', 'getObject')
>>> resp['companyName']
'Your Company'
:license: MIT, see LICENSE for more details.
"""
# pylint: disable=w0401,invalid-name
from SoftLayer import consts
from SoftLayer.API import * # NOQA
from SoftLayer.managers import * # NOQA
from SoftLayer.exceptions import * # NOQA
from SoftLayer.auth import * # NOQA
from SoftLayer.transports import * # NOQA
__title__ = 'SoftLayer'
__version__ = consts.VERSION
__author__ = 'SoftLayer Technologies, Inc.'
__license__ = 'MIT'
__copyright__ = 'Copyright 2016 SoftLayer Technologies, Inc.'
__all__ = [
'BaseClient',
'create_client_from_env',
'Client',
'BasicAuthentication',
'SoftLayerError',
'SoftLayerAPIError',
'SoftLayerListResult',
'API_PUBLIC_ENDPOINT',
'API_PRIVATE_ENDPOINT',
]
|