Skip to main content

API client for Beddit sleep tracker

Project description

.. image::
.. image::

API Client for Beddit_ in Python.

.. _Beddit:

Read `API Documentation`_ for detail.

.. _API Documentation:


.. code:: sh

pip install beddit-python


List sleep scores per day

.. code:: python

from datetime import datetime
from beddit.client import BedditClient

client = BedditClient('', password)

start_date = datetime(2016, 7, 1)
end_date = datetime(2016, 7, 31)

sleeps = client.get_sleeps(start=start_date, end=end_date)
for sleep in sleeps:

.. code:: txt

2016-07-01 75
2016-07-02 92

Supported Python

Python 2.7, 3.3, 3.4, 3.5


MIT License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for beddit-python, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size beddit-python-0.1.1.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page