azion-python: interacting with Azion’s ReST API

https://travis-ci.org/mauricioabreu/azion-python.svg?branch=master GitHub license

azion-python is a library to interact with Azion’s ReST API.

Note

This client only supports Python 3. I recommend you to upgrade your systems to use Python 3.


With this library you will be able to use the ReST API using a pythonic approach, handling Python objects (models) instead of raw JSON responses.

from azion import authorize, login

# Retrieve a new token
auth = authorize('myemail@mail.com', 'mysecretpassword')

# Login using the token
azion = login(auth.token)

# Retrieve a configuration
configuration = azion.get_configuration(1028910)

print(configuration.name)

You can checkout more examples throught the documentation.

Installation

$ pipenv install azion-python

Indices and tables