Skip to main content

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-async-client

Example

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

import aiohttp
from kaiterra_async_client import KaiterraAPIClient

async with aiohttp.ClientSession() as session:
        client = KaiterraAPIClient(session, api_key='YOUR_API_KEY_HERE')
        r = await client.get_latest_sensor_readings([
                '/devices/00000000-0001-0001-0000-00007e57c0de/top',
                '/devices/00000000-0031-0001-0000-00007e57c0de/top',
        ])
        print(r)

Development

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

Metadata

Release files for kaiterra-async-client 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kaiterra-async-client 1.1.0
File Size Uploaded Provenance Actions
kaiterra-async-client-1.1.0.tar.gz 6.3 kB Without provenance Details for kaiterra-async-client-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kaiterra-async-client 1.1.0
File Interpreter ABI Platform Actions
kaiterra_async_client-1.1.0-py3-none-any.whl Python 3 none any Details for kaiterra_async_client-1.1.0-py3-none-any.whl

Total release size: 12.9 kB

Release files / kaiterra-async-client-1.1.0.tar.gz

Download URL kaiterra-async-client-1.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
59aa7ec896882303df394b5b5628ebf39054dc5fc920dda9ee74565b7b6c3cff
BLAKE2b-256 checksum
How to use checksums
31777e40b6aa258e58fda81d61b767e8859c2825b015032926feeea277013409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / kaiterra_async_client-1.1.0-py3-none-any.whl

Download URL kaiterra_async_client-1.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64066414e46726a415ee612314ed01a213a06f07610e51f3e157a1a82b42709d
BLAKE2b-256 checksum
How to use checksums
968b9adca033e75fbbf61c3e5eaf5b44ffd71a38d24f61da3e31ba3573c593f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for kaiterra-async-client 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page