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.

Source Distribution

dino-0.0.6.tar.gz (5.8 kB view hashes)

Uploaded source

Built Distribution

dino-0.0.6-py3-none-any.whl (4.0 kB view hashes)

Uploaded 3 7

Supported by

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