{ "info": { "author": "Miikka V\u00e4rri", "author_email": "miikka.varri@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# ELSPy\n\nELSPy is a Python utility to communicate with Electrolux Laundry System.\n\nUtility has been tested with Electrolux Laundry System version 1.2.0.2.\n\n## Install\n\n`pip install ELSPy`\n\n## Usage\n\n```\nfrom ELSPy.ELS import ELS\n\nwsdl = '/Api/Mobile/VisionMobile.asmx?WSDL'\nusername = ''\npassword = ''\nels = ELS(wsdl, username, password)\n\n# Get bookable items\nchoises = els.get_choises()\n\n# Get bookings info for bookable item (choise) between dateranges\nbookings = els.get_bookings(2, '2019-01-22', '2019-01-23')\n```\n\n### get_choises()\n\nGet bookable items\n\n```\nchoises = els.get_choises()\n```\n\n```\n[{\n 'Name': '\u00d6vernattningsrum',\n 'Index': 0\n}, {\n 'Name': 'Tv\u00e4ttstuga',\n 'Index': 1\n}]\n```\n\n### get_bookings(choise, start_date, end_date)\n\nReturns booking info for bookable item (choise) between dateranges.\n\n```\nbookings = els.get_bookings(2, '2019-01-22', '2019-01-23')\n```\n\n```\n[{\n 'BookDate': '2019-01-23',\n 'BookDayPassesAmount': 3,\n 'BookPasses': {\n 'BookDayPass': [\n {\n 'PassIndex': 3,\n 'StartTime': '16:00',\n 'EndTime': '19:00',\n 'PassAvailability': {\n 'Availability': [\n {\n 'IsFree': False,\n 'IsBookable': True,\n 'HasAnythingBooked': False\n },\n {\n 'IsFree': False,\n 'IsBookable': True,\n 'HasAnythingBooked': False\n },\n {\n 'IsFree': True,\n 'IsBookable': True,\n 'HasAnythingBooked': False\n }\n ]\n }\n },\n {\n 'PassIndex': 4,\n 'StartTime': '19:00',\n 'EndTime': '22:00',\n 'PassAvailability': {\n 'Availability': [\n {\n 'IsFree': True,\n 'IsBookable': True,\n 'HasAnythingBooked': False\n },\n {\n 'IsFree': True,\n 'IsBookable': True,\n 'HasAnythingBooked': False\n },\n {\n 'IsFree': True,\n 'IsBookable': True,\n 'HasAnythingBooked': False\n }\n ]\n }\n }\n ]\n }\n}]\n```\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/ruuti/ELSPy", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ELSPy", "package_url": "https://pypi.org/project/ELSPy/", "platform": "any", "project_url": "https://pypi.org/project/ELSPy/", "project_urls": { "Homepage": "https://github.com/ruuti/ELSPy" }, "release_url": "https://pypi.org/project/ELSPy/0.1.1/", "requires_dist": [ "zeep (>=3.2.0)" ], "requires_python": ">=3", "summary": "Electrolux Laundry System Python utility package", "version": "0.1.1" }, "last_serial": 4731148, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "839146d1ce666202f1a7bc22913d661f", "sha256": "ad9f3fb3229572be723c52909de3483260b5d48423834b7babb16661b3fd72f5" }, "downloads": -1, "filename": "ELSPy-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "839146d1ce666202f1a7bc22913d661f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2836, "upload_time": "2019-01-22T18:42:16", "url": "https://files.pythonhosted.org/packages/2b/6d/70713ab5640a9c51f444fef109992b605c6892e1c1167559f79a96eb3a2a/ELSPy-0.1-py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bf7abdeb6177c20a7dc0a9b43a992e7d", "sha256": "d539ecb839f76c58f1d43e4904086da4f358322c70029e51e72daca36e2f575e" }, "downloads": -1, "filename": "ELSPy-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bf7abdeb6177c20a7dc0a9b43a992e7d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 3039, "upload_time": "2019-01-23T12:18:38", "url": "https://files.pythonhosted.org/packages/56/e2/90f333ce400fb9d56a3125ebdc2d811a4384c08eebed1796f86e067f9e25/ELSPy-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7ced92c63e48f6d6bb804b314858d9e", "sha256": "499386a4b2685b8db3ed308ee94896d93045552153987970b7c063e7483f4b84" }, "downloads": -1, "filename": "ELSPy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b7ced92c63e48f6d6bb804b314858d9e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3191, "upload_time": "2019-01-23T12:18:39", "url": "https://files.pythonhosted.org/packages/2f/04/ddd183f060c78421fd08d0768876c3af422ac2e7ce6ec63bfeea9cc5df29/ELSPy-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf7abdeb6177c20a7dc0a9b43a992e7d", "sha256": "d539ecb839f76c58f1d43e4904086da4f358322c70029e51e72daca36e2f575e" }, "downloads": -1, "filename": "ELSPy-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bf7abdeb6177c20a7dc0a9b43a992e7d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 3039, "upload_time": "2019-01-23T12:18:38", "url": "https://files.pythonhosted.org/packages/56/e2/90f333ce400fb9d56a3125ebdc2d811a4384c08eebed1796f86e067f9e25/ELSPy-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7ced92c63e48f6d6bb804b314858d9e", "sha256": "499386a4b2685b8db3ed308ee94896d93045552153987970b7c063e7483f4b84" }, "downloads": -1, "filename": "ELSPy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b7ced92c63e48f6d6bb804b314858d9e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3191, "upload_time": "2019-01-23T12:18:39", "url": "https://files.pythonhosted.org/packages/2f/04/ddd183f060c78421fd08d0768876c3af422ac2e7ce6ec63bfeea9cc5df29/ELSPy-0.1.1.tar.gz" } ] }