open-wearables-rest-cli
Generated CLI for the Open Wearables REST API.
This wrapper is built from the public OpenAPI spec at
https://api.openwearables.io/openapi.json using
openapi-cli-gen.
Install
pipx install open-wearables-rest-cli
For a local deployment:
export OPEN_WEARABLES_REST_CLI_BASE_URL=http://localhost:8000
For the hosted API, the generated package defaults to:
https://api.openwearables.io
Examples
Verified Commands
These commands were run successfully before publishing 0.1.0.
Public/read-only provider inspection against https://api.openwearables.io:
open-wearables-rest-cli external-providers get --output-format json
Result marker: the response included known providers such as Apple Health.
Local/self-hosted user and sync workflows:
open-wearables-rest-cli external-users list \
--x-open-wearables-api-key "$OPEN_WEARABLES_API_KEY" \
--output-format table
open-wearables-rest-cli external-summaries get-activity-summary \
--user-id <user_id> \
--start-date 2026-01-01 \
--end-date 2026-01-31 \
--x-open-wearables-api-key "$OPEN_WEARABLES_API_KEY" \
--output-format json
open-wearables-rest-cli external-timeseries get \
--user-id <user_id> \
--start-time 2026-01-01T00:00:00Z \
--end-time 2026-01-02T00:00:00Z \
--x-open-wearables-api-key "$OPEN_WEARABLES_API_KEY" \
--output-format json
Webhook debugging:
open-wearables-rest-cli external-webhooks list-endpoints --output-format table
open-wearables-rest-cli external-webhooks list-messages --output-format json
Auth
Most Open Wearables data endpoints accept X-Open-Wearables-API-Key; the
generated CLI exposes that operation header as --x-open-wearables-api-key.
Developer/JWT endpoints use the OAuth2 bearer scheme from the spec:
export OPEN_WEARABLES_REST_CLI_TOKEN=...
Notes
This is an unofficial community wrapper. Avoid using real health data in demos, screenshots, and test fixtures.
Metadata
Release files for open-wearables-rest-cli 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| open_wearables_rest_cli-0.1.1.tar.gz | 34.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| open_wearables_rest_cli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.3 kB
Release files / open_wearables_rest_cli-0.1.1.tar.gz
| Download URL | open_wearables_rest_cli-0.1.1.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55ee263ec77c38e86ac0ce614e0bf4503cf12674bd1dc4f987769c82c4d19c93
|
|
BLAKE2b-256 checksum How to use checksums |
02a6d2458a01862fece98c679af66fc84c1910ea746c8a43516ac6d84b3143cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / open_wearables_rest_cli-0.1.1-py3-none-any.whl
| Download URL | open_wearables_rest_cli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 35.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78633d12a16ee7e4fb20c90ae005b79647bc72fe39dbdb5dc861226c89e2b196
|
|
BLAKE2b-256 checksum How to use checksums |
56c0d496b310f2804e55c82c11f3c5723257ca3b7541d93f8224e5156c1088ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|