Python SDK for use with Clarity.io sensors
Project description
Clarity.io Python SDK
SDK to access Clarity.io API resources
Installation
The package is available on PyPi so simple install with pip
:
pip install claripy-sdk
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.10.tar.gz
(6.0 kB
view details)
File details
Details for the file claripy-sdk-1.0.10.tar.gz
.
File metadata
- Download URL: claripy-sdk-1.0.10.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a06cdd27e54989134f03a72d2a8ba431506c95994d4c6af9fc6892cac239592 |
|
MD5 | d16df9a57a82b3bed1324e48ee9ea3b8 |
|
BLAKE2b-256 | c18143cfbc071e767c89957c22d6ce86e34ec454a1649b9fe77b90a31983ea8d |