{ "info": { "author": "lmelvin", "author_email": "luke@lucasmelvin.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "# pyihome\n\nPython library to interface with the iHome API.\n\nThis library interfaces with the [EVRYTHING API](https://developers.evrythng.com/reference)\n\nCurrently this library supports the following:\n\nAll Devices\n - get devices associated with the account which are swtiches with only one outlet\n\nSwitch\n - turn_on(*device_id*)\n - turn_off(*device_id*)\n - get_state(*device_id*)\n\nHow to use\n\n```python\nfrom pyihome import PyiHome\n\n#init api\napi = PyiHome(\"username\", \"password\")\n\n#get devices\ndevices = api.get_devices()\n\n#get device id of the first item\ndevice_id = devices[0][\"id\"]\n\n#get switch specific api\nswitch = api.Switch()\n\n#turn on the switch\nswitch.turn_on(device_id)\n\n#turn off the switch\nswitch.turn_off(device_id)\n\n#get state\nprint(\"State: {}\".format(switch.get_state(device_id)))\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lmelvin/pyihome", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyihome", "package_url": "https://pypi.org/project/pyihome/", "platform": "", "project_url": "https://pypi.org/project/pyihome/", "project_urls": { "Homepage": "https://github.com/lmelvin/pyihome" }, "release_url": "https://pypi.org/project/pyihome/0.0.41/", "requires_dist": null, "requires_python": "", "summary": "Python library to interface with iHome API.", "version": "0.0.41" }, "last_serial": 3972458, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "93a7039a1a244ee498506c8821ec0cfa", "sha256": "2f89504c9862e656ed280b27be107bee76f92baab41772c0660313fba6a153e0" }, "downloads": -1, "filename": "pyihome-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "93a7039a1a244ee498506c8821ec0cfa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2265, "upload_time": "2018-06-12T05:36:02", "url": "https://files.pythonhosted.org/packages/22/3e/9a13dfe430b3af1ba08d2962dc1a931bf1f66e26b6cc064e172fb9beb5e7/pyihome-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01edcc7950abb2cfb777b8f2607feb5f", "sha256": "68f7b750320eeefb92a1a0b58f4d2a6889c2c60d498db8c447a30ea5f2238146" }, "downloads": -1, "filename": "pyihome-0.0.2.tar.gz", "has_sig": false, "md5_digest": "01edcc7950abb2cfb777b8f2607feb5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1909, "upload_time": "2018-06-12T05:36:03", "url": "https://files.pythonhosted.org/packages/bf/d3/b4528a063e0ea1ec9d231d80697c1bc1f0a103685c2f15f594c46c6c0def/pyihome-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "b36187fa86f72c686551d904040f614b", "sha256": "d10844587a5756db87517da83d398c1dbfc99b23a396debcea8758c5d6388bff" }, "downloads": -1, "filename": "pyihome-0.0.3.tar.gz", "has_sig": false, "md5_digest": "b36187fa86f72c686551d904040f614b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1906, "upload_time": "2018-06-12T05:36:04", "url": "https://files.pythonhosted.org/packages/53/46/dae83ba029255239efe2c27801d5c40126b0db87f3eccb50d6785d9c5c99/pyihome-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "5bdcda7306f8469a3c63c978600b0fcc", "sha256": "046bb9b3ba0a3be5d6743d44111499ff1abc3a8156f5c8a5133b1da77ad23b28" }, "downloads": -1, "filename": "pyihome-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5bdcda7306f8469a3c63c978600b0fcc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1907, "upload_time": "2018-06-18T05:15:36", "url": "https://files.pythonhosted.org/packages/48/56/bacfa707b6234f03279da5b4dcef9933a827d001bf7730b27972827d6b7d/pyihome-0.0.4.tar.gz" } ], "0.0.41": [ { "comment_text": "", "digests": { "md5": "17f51ef46312a2158a964d8f347b719a", "sha256": "3366a88071e8a711bfebf4db6033baf11edbe0b943f9830c15b977b9b781adb0" }, "downloads": -1, "filename": "pyihome-0.0.41.tar.gz", "has_sig": false, "md5_digest": "17f51ef46312a2158a964d8f347b719a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2191, "upload_time": "2018-06-18T05:18:05", "url": "https://files.pythonhosted.org/packages/8c/83/e2a82fd6b76ae146f0ad64efddb81ce36313773c850b702356435f6ff197/pyihome-0.0.41.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "03d225d4da7170053b34d5e3a4d32aa7", "sha256": "338f41460a160e543b58d76e593c75e796929076118da7b197e0ab8ac923318a" }, "downloads": -1, "filename": "pyihome-0.0.5.tar.gz", "has_sig": false, "md5_digest": "03d225d4da7170053b34d5e3a4d32aa7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2189, "upload_time": "2018-06-18T05:19:55", "url": "https://files.pythonhosted.org/packages/79/b9/f06283f7efcbe6be94959af78dfc0eb9ee06070ce3eb9822f76ebf123e35/pyihome-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "17f51ef46312a2158a964d8f347b719a", "sha256": "3366a88071e8a711bfebf4db6033baf11edbe0b943f9830c15b977b9b781adb0" }, "downloads": -1, "filename": "pyihome-0.0.41.tar.gz", "has_sig": false, "md5_digest": "17f51ef46312a2158a964d8f347b719a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2191, "upload_time": "2018-06-18T05:18:05", "url": "https://files.pythonhosted.org/packages/8c/83/e2a82fd6b76ae146f0ad64efddb81ce36313773c850b702356435f6ff197/pyihome-0.0.41.tar.gz" } ] }