Skip to main content

Kiefer (German): jawbone.

A simple Python wrapper for Jawbone’s UP API. kiefer fully supports Python 2.7 and Python 3.4.

Installation

You can easily install kiefer using pip:

pip install kiefer

Authentication

kiefer takes care of the tedious OAuth2 process.

Before you can start, you need to create a config file with your client_id, client_secret, redirect_uri and the scope of your app. You can use the included config_example.json as a template.

You can create your Jawbone account and app here: Link

After creating the config file all interaction that is needed is copy-pasting a URL:

from kiefer.auth import KieferAuth

auth = KieferAuth('config.json')
access_token = auth.get_access_token()

Usage

After retrieving your access token, initialize the client:

from kiefer.client import KieferClient

client = KieferClient(your_access_token)

A KieferClient instance offers methods to retrieve following metrics from the Jawbone UP API:

  • band events

  • body event(s)

  • heart rate

  • custom events

  • goals

  • meal(s)

  • mood(s)

  • move(s)

  • settings

  • sleep(s)

  • time zone

  • user information

  • workout(s)

A (s) indicates that you can retrieve a list of events as well as a single event.

Release files for kiefer 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kiefer 0.2
File Size Uploaded
kiefer-0.2.tar.gz 5.2 kB Details

Release files / kiefer-0.2.tar.gz

Download URL kiefer-0.2.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
35f0871fed138c8b98f54840da19636d0df0b4c0e0106576dfd8155eca02d6c8
BLAKE2b-256 checksum
How to use checksums
5287ea89abbf29fac81395372d758642aecc8c4ca6373856f86e8d1612bf7306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page