Skip to main content

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

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.

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

open_wearables_rest_cli-0.1.1.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_wearables_rest_cli-0.1.1-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

Details for the file open_wearables_rest_cli-0.1.1.tar.gz.

File metadata

  • Download URL: open_wearables_rest_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for open_wearables_rest_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 55ee263ec77c38e86ac0ce614e0bf4503cf12674bd1dc4f987769c82c4d19c93
MD5 cd096e38e885d69d4ae780667ca4c758
BLAKE2b-256 02a6d2458a01862fece98c679af66fc84c1910ea746c8a43516ac6d84b3143cb

See more details on using hashes here.

File details

Details for the file open_wearables_rest_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for open_wearables_rest_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78633d12a16ee7e4fb20c90ae005b79647bc72fe39dbdb5dc861226c89e2b196
MD5 0ee6da4554dbcdc650c67a668930e57e
BLAKE2b-256 56c0d496b310f2804e55c82c11f3c5723257ca3b7541d93f8224e5156c1088ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page