Skip to main content

A library that lets you retrieve heart rate data from Pulsoid without using an API key

Project description

PulsoidClient

A simple Python package meant for accessing heart rate data from Pulsoid without the use of an API key.

Installation

Just run pip install git+https://github.com/ctih1/pulsoid-client

Setup

In order to use this method, you have to use Pulsoid Cloud (connect your preferred heart rate device to your phone, and use the mobile app).

1. Make sure your pulse is visible in the Pulsoid app

Pulsoid app showing heart rate

2. Go to https://pulsoid.net/ui/configuration

3. Select any one of the trackers available, and click "configure"

Pulsoid website with lots of widgets showing cursor on top of the "configure" button

4. Click "Copy" next to the source URL

Pulsoid widget configuration site with the mouse hovering over "Copy" button, which copies the URL starting with https://pulsoid.net/widget/view/...

5. Use it with the Python library

from pulsoid_client import PulsoidClient

client = PulsoidClient(widget_url="https://pulsoid.net/widget/view/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", callback_function=heart_rate_callback)

6. See examples/ for more in-depth exampless

(NOTE: the "67" values were not intended, my heart rate just so happened to be that when I took the screenshots..)

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

pulsoid_client-0.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

pulsoid_client-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pulsoid_client-0.0.2.tar.gz.

File metadata

  • Download URL: pulsoid_client-0.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for pulsoid_client-0.0.2.tar.gz
Algorithm Hash digest
SHA256 556fa8404bcecc0c27dbc19426b174aa06369b2ae6ff511aa368ddfe3a744342
MD5 3be83d60de0d77ea3a16af18cbb70f29
BLAKE2b-256 4ebc14d2329b58f234ae76c3d54bf6f0a2c8f3bf70104adc1fdb1e9f2bc013fd

See more details on using hashes here.

File details

Details for the file pulsoid_client-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pulsoid_client-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for pulsoid_client-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8471e1563a0ffda37db5fae851c598ccb2d9c5b73a408434e32d4ae7b80b0d25
MD5 a7d459e28e53f0e79926dcc600e7b832
BLAKE2b-256 31e0e2ad3a2be24e0438a361e378f41da3526dda0f17725c7c5386fa6db589dd

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