Skip to main content

This is an example project which shows how to access the Cloud Insight API using Python.

Project description

This is an example project which shows how to access the Cloud Insight API using Python. Overview

The Cloud Insight API is a REST API which provides many services related to the Cloud Insight system. The data transmission protocol is JSON objects. The API receives and sends answers as JSON objects and HTTP errors or confirmation as HTTP status code. The CloudInsightAPI class provides an interface and some example methods to access the Cloud Insight API. All the objects accessed by the CloudInsightAPI class will have the JSON response converted to generic Python objects (Bunch) which can have their properties accessed by obj.property syntax instead of dictionary syntax. The print of the objects will return a JSON formatted string to facilitate the visualization of the object data. The requests are made using the Requests library and will raise requests.exceptions.RequestException when some request fail according to the status code error.

The program.py provide an example of a command line script implementation of the CloudInsightAPI class

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

al-cloudinsight-1.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

al_cloudinsight-1.1-py2.py3-none-any.whl (6.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file al-cloudinsight-1.1.tar.gz.

File metadata

File hashes

Hashes for al-cloudinsight-1.1.tar.gz
Algorithm Hash digest
SHA256 1a96f13270998be242f8daf6232da44e7ad5a6eba2c94c53651995286ca95c48
MD5 c514e0080fb510974f0f3200cde4123c
BLAKE2b-256 bc1d59043f2aac3d0c3d43b4f9988a0cd72588f25fd53359024bbe8e20535c4c

See more details on using hashes here.

File details

Details for the file al_cloudinsight-1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for al_cloudinsight-1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3f7c6f83ce335eeb00e8928649bb797bbd97aec908de53298812542d1694238e
MD5 9f0e1e0ea5fb67d707a8f8eb2a96cb1a
BLAKE2b-256 8743a752bb9296b3878a583c9e6c43d9a53d7699f9c13d1bfd3c8cf16221263f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page