{ "info": { "author": "Brad Hurley", "author_email": "bradley.hurley@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "## PyNotion\n\nPyNotion is designed to be a simple to use Python wrapper around the Notion API.\n\n\n- ##### Learn More About Notion Sensors:\n - [Notion](http://getnotion.com/)\n\n- ##### Read The Notion API Docs\n - [Notion API Documentation](https://docs.getnotion.com/)\n\n\n### Setup:\nCreate a Python 3 Virtual Environment\n- [Virtual Environment Reference](http://docs.python-guide.org/en/latest/dev/virtualenvs/)\n\n```bash\npip install -r requirements.txt\n```\n\n### Sample Usage:\n```python\nfrom PyNotion import PyNotion\n\np = PyNotion()\n# First Run - Get a valid token\nuser = p.get_token(\"notion email\", \"password\")\nprint(user.auth_token)\np.auth_token = user.auth_token\n\nsensors = p.get_sensors()\nfor sensor in sensors:\n print(sensor.name)\n```\n\n```python\nfrom PyNotion import PyNotion\n\np = PyNotion()\np.auth_token = 'notion auth token'\n```\n\n```python\n# When Finished:\np.kill_token()\n```\n\n### Known Issues / Limitations:\n- Python 3 Only (I have no plans on supporting Python 2)\n- The following methods have not been implemented:\n - get_thresholds\n - get_threshold\n - get_events\n - get_event\n- The wrapper currently does not support update operations.\n\n##### I am in no way affiliated with Notion, nor is this an officially supported product.\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bradleyhurley/PyNotion", "keywords": "", "license": "license.txt", "maintainer": "", "maintainer_email": "", "name": "PyNotion", "package_url": "https://pypi.org/project/PyNotion/", "platform": "", "project_url": "https://pypi.org/project/PyNotion/", "project_urls": { "Homepage": "https://github.com/bradleyhurley/PyNotion" }, "release_url": "https://pypi.org/project/PyNotion/0.0.1/", "requires_dist": [ "requests (>=2.18.4)" ], "requires_python": "", "summary": "Wrapper around Notion API.", "version": "0.0.1" }, "last_serial": 3377499, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5a7fd13a1dd88b91eb6e4cb7a5d17351", "sha256": "4b45464324cd0461c61b78b1fd8b2a92355ae7de29c23b35645c25cb8434dcc9" }, "downloads": -1, "filename": "PyNotion-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5a7fd13a1dd88b91eb6e4cb7a5d17351", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7701, "upload_time": "2017-11-30T14:36:24", "url": "https://files.pythonhosted.org/packages/c8/4d/6851ad26254df60b4763038484278f238aa8c1bcbe1b83878b845131ab7b/PyNotion-0.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5a7fd13a1dd88b91eb6e4cb7a5d17351", "sha256": "4b45464324cd0461c61b78b1fd8b2a92355ae7de29c23b35645c25cb8434dcc9" }, "downloads": -1, "filename": "PyNotion-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5a7fd13a1dd88b91eb6e4cb7a5d17351", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7701, "upload_time": "2017-11-30T14:36:24", "url": "https://files.pythonhosted.org/packages/c8/4d/6851ad26254df60b4763038484278f238aa8c1bcbe1b83878b845131ab7b/PyNotion-0.0.1-py3-none-any.whl" } ] }