Skip to content

kaiterra/python-kaiterra-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-kaiterra-client

Python 3 client for retrieving readings from your Laser Egg or Sensedge using the Kaiterra REST API.

To use it, you'll first need to create an account at the Kaiterra Dashboard, then create an API key under Settings -> Profile -> Developer.

Getting Started

Install the library using pip:

pip install kaiterra-client

Example

Here's some code to retrieve readings from a couple test devices, one Laser Egg and one Sensedge:

from kaiterra_client import KaiterraAPIClient

client = KaiterraAPIClient(api_key='YOUR_API_KEY_HERE')

r = client.get_latest_sensor_readings([
        '/lasereggs/00000000-0001-0001-0000-00007e57c0de',
        '/sensedges/00000000-0031-0001-0000-00007e57c0de',
])

print(r)

Development

Source code, issues, and pull requests are managed using Github.

About

API client for Python 3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published