Python SDK for use with Clarity.io sensors
Project description
Clarity.io Python SDK
SDK to access Clarity.io API resources
Installation
The SDK is currently under development
Usage
Please see the Snippets directory to see sample use cases. Below is the general use case:
import os
from claripy.clarity import Clarity
connection = Clarity(os.getenv("API_KEY"))
latest_data_by_min = connection.__measurements__.get()
devices = connection.__devices__.get()
sources = connection.__datasources__.get()
To create a Clarity
object, simply pass the API key as a parameter. You then have access to data from the three Clarity endpoints: measurements, devices, and datasources.
Resources
License
This repository is licensed under the Apache License
Contributing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
claripy-sdk-1.0.2.tar.gz
(6.0 kB
view hashes)