Library to communicate with OMRON connect API
Project description
omron-connect-api
Library to communicate with OMRON connect API.
Only the blood pressure readings are provided in the current version.
Usage
import aiohttp
import asyncio
import os
from omron_connect_api import OmronConnectApi
async def run():
async with aiohttp.ClientSession() as session:
api = OmronConnectApi(os.environ['EMAIL'], os.environ['PASSWORD'], os.environ['COUNTRY_CODE'], session)
blood_pressure_readings = await api.async_get_blood_pressure_readings()
print(blood_pressure_readings)
asyncio.run(run())
Build and test locally
make venv
source .venv/bin/activate
make test
make build
Release version
make release bump=patch|minor|major
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omron_connect_api-0.1.0.tar.gz.
File metadata
- Download URL: omron_connect_api-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7496cde0b1806c470abdf75730197e91cd351280d14c2465833600fa8e8c7282
|
|
| MD5 |
93d4583ec7a3a354557042266ff732f8
|
|
| BLAKE2b-256 |
f49598a91372a5776de32cf352a28d757ecba2d5f400fe101fa262cdf203b4c5
|
Provenance
The following attestation bundles were made for omron_connect_api-0.1.0.tar.gz:
Publisher:
publish.yml on happydev-ca/omron-connect-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omron_connect_api-0.1.0.tar.gz -
Subject digest:
7496cde0b1806c470abdf75730197e91cd351280d14c2465833600fa8e8c7282 - Sigstore transparency entry: 215128856
- Sigstore integration time:
-
Permalink:
happydev-ca/omron-connect-api@5d79f453c0fc81387c1e9c890960d59345cd2360 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/happydev-ca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5d79f453c0fc81387c1e9c890960d59345cd2360 -
Trigger Event:
push
-
Statement type:
File details
Details for the file omron_connect_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: omron_connect_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6718b7369ff5d9ab07210bbd97fd1e94cebdd1c38f5e9c031eaa2a751807147a
|
|
| MD5 |
00975d8cb6221dc9a66c49ddf455c9c0
|
|
| BLAKE2b-256 |
83e0d4a10f6a1f9f24d7293cd949939129010df858444f99ee46bbe0bef61a77
|
Provenance
The following attestation bundles were made for omron_connect_api-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on happydev-ca/omron-connect-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omron_connect_api-0.1.0-py3-none-any.whl -
Subject digest:
6718b7369ff5d9ab07210bbd97fd1e94cebdd1c38f5e9c031eaa2a751807147a - Sigstore transparency entry: 215128858
- Sigstore integration time:
-
Permalink:
happydev-ca/omron-connect-api@5d79f453c0fc81387c1e9c890960d59345cd2360 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/happydev-ca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5d79f453c0fc81387c1e9c890960d59345cd2360 -
Trigger Event:
push
-
Statement type: