{ "info": { "author": "Dev Aggarwal", "author_email": "devxpy@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# pyMiWiFi\nA python API to the Xiaomi Mi WiFi Router web interface\n\n(Tested on the Mi Router 3C)\n\n## Install\n\n[PyPI](https://pypi.org/project/pymiwifi/)\n\n`pip install pymiwifi`\n\nLicense: MIT
\nPython >= 3.6 \n\n\n## Use\n\n```python\nimport pymiwifi\n\n\nmiwifi = pymiwifi.MiWiFi()\nmiwifi.login('admin_pass')\n\nmiwifi.status()\n```\n\n```\n{'dev': [{'mac': 'xx:xx:xx:xx:xx:xx',\n 'maxdownloadspeed': '933178',\n 'upload': '28777897',\n 'upspeed': '339',\n 'downspeed': '194',\n 'online': '1320',\n 'devname': 'android-xx',\n 'maxuploadspeed': '672600',\n 'download': '69654908'},\n {'mac': 'xx:xx:xx:xx:xx:xx',\n 'maxdownloadspeed': '1239976',\n 'upload': '1249682170',\n 'upspeed': '431417',\n 'downspeed': '8283',\n 'online': '5531',\n 'devname': 'xx-pc',\n 'maxuploadspeed': '744959',\n 'download': '42672896'},\n {'mac': 'xx:xx:xx:xx:xx:xx',\n 'maxdownloadspeed': '1074270',\n 'upload': '1745315',\n 'upspeed': '63',\n 'downspeed': '84',\n 'online': '5392',\n 'devname': 'xy-pc',\n 'maxuploadspeed': '37234',\n 'download': '19197169'},\n {'mac': 'xx:xx:xx:xx:xx:xx',\n 'maxdownloadspeed': '0',\n 'upload': '0',\n 'upspeed': '0',\n 'downspeed': '0',\n 'online': '5531',\n 'devname': '5C:CF:7F:33:BD:41',\n 'maxuploadspeed': '0',\n 'download': '0'}],\n 'code': 0,\n 'mem': {'usage': 0.38, 'total': '64 M', 'hz': '800MHz', 'type': 'DDR2'},\n 'temperature': 0,\n 'count': {'all': 4, 'online': 3},\n 'hardware': {'mac': 'xx:xx:xx:xx:xx:xx',\n 'platform': 'R3L',\n 'version': '2.8.50',\n 'channel': 'release',\n 'sn': '15516/20172849'},\n 'upTime': '5573.27',\n 'cpu': {'core': 1, 'hz': '575MHz', 'load': 0.3267},\n 'wan': {'downspeed': '9023',\n 'maxdownloadspeed': '1264691',\n 'history': '460239,437753,431551,444594,443864,444399,437105,425708,444010,443786,443956,443522,437202,425671,444129,448279,443948,437086,429470,440070,444176,444169,444589,436990,424927,443799,446999,447205,431575,430753,467157,444888,444520,443385,432773,429452,443798,444853,445282,436298,425354,444444,444744,444884,442913,429838,434359,444254,444070,445424',\n 'devname': 'eth0.2',\n 'upload': '1296497767',\n 'upspeed': '436401',\n 'maxuploadspeed': '751567',\n 'download': '136487233'}}\n\n```\n\n## Advanced\n\n**If there's an endpoint that's not available in the API, you can just -**\n\n`miwifi.get_api_endpoint('xqsystem/wifi_macfilter_info')`\n\n(Use chrome dev tools' \"Network\" Tab to see these endpoints)\n\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/pycampers/pymiwifi", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pymiwifi", "package_url": "https://pypi.org/project/pymiwifi/", "platform": "", "project_url": "https://pypi.org/project/pymiwifi/", "project_urls": { "Homepage": "https://github.com/pycampers/pymiwifi" }, "release_url": "https://pypi.org/project/pymiwifi/0.0.2/", "requires_dist": [ "requests" ], "requires_python": ">=3.6.0", "summary": "A python API to the Xiaomi Mi WiFi Router web interface", "version": "0.0.2" }, "last_serial": 4197549, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bf75fff8594409cf494c300eb4a3237e", "sha256": "5bd9032445c8c8a2bf7e6b8074055f42aa3308b4f86b4199a38604d00a8c78e3" }, "downloads": -1, "filename": "pymiwifi-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bf75fff8594409cf494c300eb4a3237e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 3291, "upload_time": "2018-08-22T20:18:58", "url": "https://files.pythonhosted.org/packages/13/47/7157e274a71d01c1d65f46ab0800e68497e2cb8e8b7fb919aebc7c96f2be/pymiwifi-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1d6e3c5ceaff17fb9362385e7a2ad5fb", "sha256": "29731f1a1bddf0c9d394bbc49a1ead093cd9e8b340f2ed79033663acabe1caaf" }, "downloads": -1, "filename": "pymiwifi-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1d6e3c5ceaff17fb9362385e7a2ad5fb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4326, "upload_time": "2018-08-22T20:19:00", "url": "https://files.pythonhosted.org/packages/8e/dd/7c6a2e837ea2a117a9a3a557696943a00f038def052725a5022faf839cf7/pymiwifi-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a28cd01b7613161d49d06f00f1199932", "sha256": "41c52bd49be7f1eea58a3af734ace62c29afe76310bf7698abe09dfa9d1912c9" }, "downloads": -1, "filename": "pymiwifi-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a28cd01b7613161d49d06f00f1199932", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 3330, "upload_time": "2018-08-22T20:43:38", "url": "https://files.pythonhosted.org/packages/6f/5e/54c25cc66f1ae4be97e4072ddff8053b5533ad4c7b3ddedb2cfc1472310d/pymiwifi-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "263d9fa8dfab7517cfa019c29b5c5376", "sha256": "ccfb5fbedfdc3fdb225b6ea689b9b28f897848e99290bce7098dcfecd6ae3e6d" }, "downloads": -1, "filename": "pymiwifi-0.0.2.tar.gz", "has_sig": false, "md5_digest": "263d9fa8dfab7517cfa019c29b5c5376", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4376, "upload_time": "2018-08-22T20:43:39", "url": "https://files.pythonhosted.org/packages/dd/ac/9eabf80bc3e8f6ae64bf21ca719ab53c9b66103814981009434e6f89958c/pymiwifi-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a28cd01b7613161d49d06f00f1199932", "sha256": "41c52bd49be7f1eea58a3af734ace62c29afe76310bf7698abe09dfa9d1912c9" }, "downloads": -1, "filename": "pymiwifi-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a28cd01b7613161d49d06f00f1199932", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 3330, "upload_time": "2018-08-22T20:43:38", "url": "https://files.pythonhosted.org/packages/6f/5e/54c25cc66f1ae4be97e4072ddff8053b5533ad4c7b3ddedb2cfc1472310d/pymiwifi-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "263d9fa8dfab7517cfa019c29b5c5376", "sha256": "ccfb5fbedfdc3fdb225b6ea689b9b28f897848e99290bce7098dcfecd6ae3e6d" }, "downloads": -1, "filename": "pymiwifi-0.0.2.tar.gz", "has_sig": false, "md5_digest": "263d9fa8dfab7517cfa019c29b5c5376", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4376, "upload_time": "2018-08-22T20:43:39", "url": "https://files.pythonhosted.org/packages/dd/ac/9eabf80bc3e8f6ae64bf21ca719ab53c9b66103814981009434e6f89958c/pymiwifi-0.0.2.tar.gz" } ] }