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

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
from dino import RawDinoClient

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

client.get_data(start, end)

#### Get data as Pandas DataFrame
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.

Files for dino, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size dino-0.0.6-py3-none-any.whl (4.0 kB) File type Wheel Python version 3.7 Upload date Hashes View
Filename, size dino-0.0.6.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page