Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.64 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.64 KB

last_commit test suite

Clarity.io Python SDK

SDK to access Clarity.io API resources

Installation

❗ The PyPi package currently does not install properly. If you would like to use this project, please clone and use locally.

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

contributing