Onemind-Services-LLC / py-jelastic

Python API client library for Jelastic.

Home Page:https://onemind-services-llc.github.io/py-jelastic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-jelastic

CI Documentation Upload Python Package

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.

About

Python API client library for Jelastic.

https://onemind-services-llc.github.io/py-jelastic/

License:Apache License 2.0


Languages

Language:Python 100.0%