Skip to main content

A Python wrapper for the Jawbone UP API.

Project description

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.

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

kiefer-0.2.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file kiefer-0.2.tar.gz.

File metadata

  • Download URL: kiefer-0.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kiefer-0.2.tar.gz
Algorithm Hash digest
SHA256 35f0871fed138c8b98f54840da19636d0df0b4c0e0106576dfd8155eca02d6c8
MD5 d192fc9c0ac89bddfa4de8f4d4653034
BLAKE2b-256 5287ea89abbf29fac81395372d758642aecc8c4ca6373856f86e8d1612bf7306

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