{ "info": { "author": "giginet", "author_email": "giginet.net@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "beddit-python\n============================\n.. image:: https://travis-ci.org/giginet/beddit-python.svg?branch=master\n :target: https://travis-ci.org/giginet/beddit-python\n.. image:: https://coveralls.io/repos/github/giginet/beddit-python/badge.svg?branch=master \n :target: https://coveralls.io/github/giginet/beddit-python?branch=master\n\nAPI Client for Beddit_ in Python.\n\n.. _Beddit: http://www.beddit.com\n\nRead `API Documentation`_ for detail.\n\n.. _API Documentation: https://github.com/beddit/beddit-api\n\nInstallation\n---------------------\n\n.. code:: sh\n\n pip install beddit-python\n\n\nUsage\n--------------\n\nList sleep scores per day\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n from datetime import datetime\n from beddit.client import BedditClient\n\n client = BedditClient('user@example.com', password)\n\n start_date = datetime(2016, 7, 1)\n end_date = datetime(2016, 7, 31)\n\n sleeps = client.get_sleeps(start=start_date, end=end_date)\n for sleep in sleeps:\n print(sleep.date.strftime('%Y-%m-%d'), sleep.property.total_sleep_score)\n\n\n.. code:: txt\n\n 2016-07-01 75\n 2016-07-02 92\n ....\n\nSupported Python\n------------------------\n\nPython 2.7, 3.3, 3.4, 3.5\n\nLICENSE\n----------------\n\nMIT License", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/giginet/beddit-python/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/giginet/beddit-python", "keywords": "beddit api client sleep IoT", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "beddit-python", "package_url": "https://pypi.org/project/beddit-python/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/beddit-python/", "project_urls": { "Download": "https://github.com/giginet/beddit-python/tarball/master", "Homepage": "https://github.com/giginet/beddit-python" }, "release_url": "https://pypi.org/project/beddit-python/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "API client for Beddit sleep tracker", "version": "0.1.1" }, "last_serial": 2604678, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4375b0c478c61a6910a8cc70308c0ebd", "sha256": "6524d730d4e93f56f2f6ceb0fd607408782ca60cc9490048ed8961e73ee4165a" }, "downloads": -1, "filename": "beddit-python-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4375b0c478c61a6910a8cc70308c0ebd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8537, "upload_time": "2016-08-21T08:25:56", "url": "https://files.pythonhosted.org/packages/c3/b6/13e01fb5e603578fd862361f4b9dcea698e7dfe477c64ff3bbce34eb6ea4/beddit-python-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8a3b713af15b908db13acc961e40aa0b", "sha256": "24895d8a2643222196f78e561d887a8b9ffe597b0043030506bc03b9c7146ede" }, "downloads": -1, "filename": "beddit-python-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8a3b713af15b908db13acc961e40aa0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8679, "upload_time": "2017-01-29T09:45:25", "url": "https://files.pythonhosted.org/packages/81/8c/80554ec01399ca46e6a93f03d9f1e3c894dd50dfee00dd90df086c09b458/beddit-python-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a3b713af15b908db13acc961e40aa0b", "sha256": "24895d8a2643222196f78e561d887a8b9ffe597b0043030506bc03b9c7146ede" }, "downloads": -1, "filename": "beddit-python-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8a3b713af15b908db13acc961e40aa0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8679, "upload_time": "2017-01-29T09:45:25", "url": "https://files.pythonhosted.org/packages/81/8c/80554ec01399ca46e6a93f03d9f1e3c894dd50dfee00dd90df086c09b458/beddit-python-0.1.1.tar.gz" } ] }