Metadata-Version: 2.1
Name: cloudhealth-client
Version: 0.5.0
Summary: A REST Client for Cloudhealth
Home-page: https://github.com/albertonarro/cloudhealth-client
Author: Alberto Narro
Author-email: alberto.narro@hotmail.com
License: Apache-2.0
Keywords: cloudhealth,client,cli
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

Cloudhealth REST Client
=======================

This is a Python REST Client for the Cloudhealth service.

## Installation

```shell
pip install cloudhealth-client

# Clone repo
git clone https://github.com/albertonarro/cloudhealth-client.git
```


## Python Usage

```python
>>> from cloudhealth import client
>>> ch = client.CloudHealth(api_key='Ali23melAS$E#@$Im3lsim1!')

# List all queryable assets
>>> ch.assets.list()
['AwsInstanceType', 'AwsAvailabilityZone', 'AwsAccount', ... ]

# List Reports of Specific Type
>>> ch.reports.list_by_type('cost')
{
  'links': {
    'cost/billing_rules': {'href': 'https://chapi.cloudhealthtech.com/olap_reports/cost/billing_rules'}, 
    'cost/current': {'href': 'https://chapi.cloudhealthtech.com/olap_reports/cost/current'}, 
    ...
    ...
  }
}
```


## Testing

[!WIP]

## Contributions..

[!WIP]
