This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
beddit-python
============================

.. image:: https://travis-ci.org/giginet/beddit-python.svg?branch=master :target: https://travis-ci.org/giginet/beddit-python
.. image:: https://coveralls.io/repos/github/giginet/beddit-python/badge.svg?branch=master :target: https://coveralls.io/github/giginet/beddit-python?branch=master

API Client for Beddit_ in Python.

.. _Beddit: https://www.beddit.com

Read `API Documentation`_ for detail.

.. _API Documentation: https://github.com/beddit/beddit-api

Installation
---------------------

.. code:: sh

pip install beddit-python


Usage
--------------

List sleep scores per day
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: python

from datetime import datetime
from beddit.client import BedditClient

client = BedditClient('user@example.com', 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:
print(sleep.date.strftime('%Y-%m-%d'), sleep.property.total_sleep_score)


.. code:: txt

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

Supported Python
------------------------

Python 2.7, 3.3, 3.4, 3.5

LICENSE
----------------

MIT License
Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
beddit-python-0.1.0.tar.gz (8.5 kB) Copy SHA256 Checksum SHA256 Source Aug 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting