Skip to content

rogers-obrien-rad/clarity-python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python SDK to access Clarity.io resources

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages