{ "info": { "author": "Dhanush HL", "author_email": "dhanushdazz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Programming Language :: Python :: 3" ], "description": "IOT JOKE PI\n===============\nThis is a python library to access iot website\n IOT-JOKE(https://iot-joker.firebaseapp.com)\n\n.. image:: https://img.shields.io/pypi/status/pyiotjokepi.svg\n\n.. image:: https://img.shields.io/pypi/dw/pyiotjokepi.svg?style=plastic\n\n.. image:: https://img.shields.io/pypi/v/pyiotjokepi.svg\n\n.. image:: https://img.shields.io/pypi/format/pyiotjokepi.svg\n\n.. image:: https://img.shields.io/badge/author-Dhanush-orange.svg\n\nFunctions:\n----------\n* Control devices using switches\n* Plot your sensor data\n\nInstallation :\n--------------\n\nPython3\n-------\n\n::\n\n pip3 install pyiotjoke\n\nor\n\n::\n\n pip install pyiotjoke\n\n\n**Implementing :**\n~~~~~~~~~~~~~~~~~~\n\n::\n\n from iotjokepi import JokePi\n\n ApiKey = 'Your API Key'\n Link = 'http://iot-joke-pi.herokuapp.com'\n\n # Instance to get swtich states\n getOb = JokePi('Button', ApiKey, Link + '/api/getdata/')\n\n\n data1 = getOb.getSwitchState('Switch Name')\n data = data1\n\n if data == 'ON':\n print('Switch is ON')\n elif data == 'OFF':\n print('Switch is OFF')\n else:\n print('Invalid Device')\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dazzHere/IOT-JOKE-PI", "keywords": "iot,iot-joke-pi,iot-joke,iot-joker", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyiotjokepi", "package_url": "https://pypi.org/project/pyiotjokepi/", "platform": "", "project_url": "https://pypi.org/project/pyiotjokepi/", "project_urls": { "Homepage": "https://github.com/dazzHere/IOT-JOKE-PI" }, "release_url": "https://pypi.org/project/pyiotjokepi/0.2.4/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "", "version": "0.2.4" }, "last_serial": 5271579, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "85af7df71ba5b51156acdf3abbacfb4d", "sha256": "0be5ea7bf07137843443d90a5d5adc1636b90afd74469e37a2c6064e4ee89219" }, "downloads": -1, "filename": "pyiotjokepi-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "85af7df71ba5b51156acdf3abbacfb4d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3644, "upload_time": "2019-05-10T17:22:33", "url": "https://files.pythonhosted.org/packages/5d/be/f0791c0d25899befa23e1276fe2f1e31b5292bd63903417abecaa51fbb15/pyiotjokepi-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4fb3e212b7fb500dd7658b107d3940bc", "sha256": "31c9c51d4d43da8d53b28c5eb7ffb76df8f9d873ba139a0f79409af190183449" }, "downloads": -1, "filename": "pyiotjokepi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4fb3e212b7fb500dd7658b107d3940bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1408, "upload_time": "2019-05-10T17:22:35", "url": "https://files.pythonhosted.org/packages/73/f0/969c40e87436866d698d12ebc9d8aa0513083308e13bcca614b637dc3a55/pyiotjokepi-0.1.1.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "7872e17261f73f51a61cae04f310f85c", "sha256": "66c778f08aea9cb1d236b05f2a515b1c4f9f75d255c87c1e5e33d3b23c916b8a" }, "downloads": -1, "filename": "pyiotjokepi-0.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "7872e17261f73f51a61cae04f310f85c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4016, "upload_time": "2019-05-15T09:44:06", "url": "https://files.pythonhosted.org/packages/e5/0a/9b61abbe2e9540871a83868907a7338443d7235123b3f767ba7c2758fa76/pyiotjokepi-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "692f3bc103ac599772483cfef8a6e57d", "sha256": "c4f294b4f808d2c5b59375a4b9f546b51c843f8ca3e201fd6d86fc6cdfbaec2c" }, "downloads": -1, "filename": "pyiotjokepi-0.2.4.tar.gz", "has_sig": false, "md5_digest": "692f3bc103ac599772483cfef8a6e57d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2084, "upload_time": "2019-05-15T09:44:08", "url": "https://files.pythonhosted.org/packages/56/30/8a2d77c8c09a9bc993747edc4b188f00c4463dc3e8a5bd2adf16e024b1b6/pyiotjokepi-0.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7872e17261f73f51a61cae04f310f85c", "sha256": "66c778f08aea9cb1d236b05f2a515b1c4f9f75d255c87c1e5e33d3b23c916b8a" }, "downloads": -1, "filename": "pyiotjokepi-0.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "7872e17261f73f51a61cae04f310f85c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4016, "upload_time": "2019-05-15T09:44:06", "url": "https://files.pythonhosted.org/packages/e5/0a/9b61abbe2e9540871a83868907a7338443d7235123b3f767ba7c2758fa76/pyiotjokepi-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "692f3bc103ac599772483cfef8a6e57d", "sha256": "c4f294b4f808d2c5b59375a4b9f546b51c843f8ca3e201fd6d86fc6cdfbaec2c" }, "downloads": -1, "filename": "pyiotjokepi-0.2.4.tar.gz", "has_sig": false, "md5_digest": "692f3bc103ac599772483cfef8a6e57d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2084, "upload_time": "2019-05-15T09:44:08", "url": "https://files.pythonhosted.org/packages/56/30/8a2d77c8c09a9bc993747edc4b188f00c4463dc3e8a5bd2adf16e024b1b6/pyiotjokepi-0.2.4.tar.gz" } ] }