Generated Open Wearables REST CLI for users, providers, sync status, summaries, timeseries, and webhooks
Project description
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
Public/read-only provider inspection:
open-wearables-rest-cli external-providers get --output-format json
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.
Project details
Release history Release notifications | RSS feed
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 open_wearables_rest_cli-0.1.0.tar.gz.
File metadata
- Download URL: open_wearables_rest_cli-0.1.0.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80c90d38c140b0c100b9eb98a2b7afda1ebe3d7a860f808daa3d5a1cc220170e
|
|
| MD5 |
fb213f506ad9d58569ce17458618fa21
|
|
| BLAKE2b-256 |
05ef05aef8a473b4070e2c27201583e9269d6c05209dceafd0c2b7fe97f2e791
|
File details
Details for the file open_wearables_rest_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: open_wearables_rest_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 35.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d997ff67cc08eab7bd729b597ac1327d0e28c5188afecb069ab40ee8516a4f47
|
|
| MD5 |
ac199952c64b5d9b528d0c5a3242d0be
|
|
| BLAKE2b-256 |
11fd2865de4cd334b0d58dc954092476bd97eb9ce0ec2341ae2661b976f81e59
|