Jelastic API client library
Project description
py-jelastic
Python API client library for Jelastic.
Note: This library is only tested with Jelastic version v8.4.1.
Installation
You can clone the repo and run python setup.py install
.
Quick Start
To begin, import the Jelastic client and instantiate the API.
from jelastic import Jelastic
jelastic = Jelastic(
'https://jca.xapp.cloudmydc.com',
token='d6f4e314a5b5fefd164995169f28ae32d987704f'
)
The library follows the convention from the Jelastic API documentation. For example, to get the list of accounts, you would do the following:
from jelastic import Jelastic
jelastic = Jelastic(
'https://jca.xapp.cloudmydc.com',
token='d6f4e314a5b5fefd164995169f28ae32d987704f'
)
accounts = jelastic.billing.Account.GetAccounts()
The result is a JSON dictionary returned from the Jelastic API.
You can read more about this library at Read the Docs.
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
py-jelastic-0.0.4.tar.gz
(79.0 kB
view hashes)
Built Distribution
Close
Hashes for py_jelastic-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38a0a97293429b5bfd3beae42518b9d73504652c6717d0bcafc1cb1bc55c924 |
|
MD5 | e99430bf9ad30b28e24d4eba9a0d254c |
|
BLAKE2b-256 | db8ef60960341249669270d227c8b04d4c947f7a8206db65266f12ca5b44d264 |