Skip to main content

A python API client for Dino monitoring service

Project description

# Dino
## Python API client for Dino Energy Monitor

### Installation
`python3 -m pip install dino`

### Usage

```python
import pandas as pd

start = pd.Timestamp('20181001', tz='Europe/Rome')
end = pd.Timestamp('20181009', tz='Europe/Rome')
```

#### Get raw data from JSON as a Python dictionary
```python
from dino import RawDinoClient

client = RawDinoClient(client_id, client_secret, username, serial)

client.get_data(start, end)
```

#### Get data as Pandas DataFrame
```python
from dino import PandasDinoClient

client = PandasDinoClient(client_id, client_secret, username, serial)

client.get_data(start, end)

# filter specific columns
client.get_data(start, end, columns=['E0', 'E1'])
```

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dino-0.0.4-py3-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel 3.6
dino-0.0.4.tar.gz (5.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page