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://app.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://app.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.1.6.tar.gz
(83.9 kB
view details)
Built Distribution
File details
Details for the file py-jelastic-0.1.6.tar.gz
.
File metadata
- Download URL: py-jelastic-0.1.6.tar.gz
- Upload date:
- Size: 83.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0243c8c2c5b281663c52e46c1ef822840955f4078c16adb74c94c74814fb602 |
|
MD5 | 6f159387fc8bb9130348a089c3a781dd |
|
BLAKE2b-256 | c619500c49af6c54f8f44f0dd55a889a5cda5430d9dc22bf96d94a89ae6ccaeb |
File details
Details for the file py_jelastic-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: py_jelastic-0.1.6-py3-none-any.whl
- Upload date:
- Size: 95.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd2f3d9997c3d327c821fc5592f61b83eb4e57840ef2885cb8b4436ec6fdc26 |
|
MD5 | 577c03d585757569802b2bbe5ab194dc |
|
BLAKE2b-256 | c2997ab07a72169761eb5269ac60e5076e712ab1098ba6a1e6e8c7b40dedff7b |