{ "info": { "author": "Leonardo Merza", "author_email": "ljmerza@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "Unofficial asyncio python wrapper for the Our Groceries API. This library requires `Python >=3.5`.\n\n## Installation\n\n```bash\npip install ourgroceries\n```\n\n## Usage\n\n```\nimport asyncio\nfrom ourgroceries import OurGroceries\n\nusername = ''\npassword = ''\n\nog = OurGroceries(username, password)\nasyncio.run(og.login())\n\nmy_lists = asyncio.run(og.get_my_lists())\nprint(my_lists)\n\nmy_todo_list = asyncio.run(og.get_list_items(list_id=''))\nprint(my_todo_list)\n```\n\n## Methods\n```def login()```\n\nLogs into our groceries\n\n---\n\n```def get_my_lists()```\n\nGets all of your lists\n\n---\n\n```def get_list_items(list_id)```\n\nGets the items for a list\n\n---\n\n```def create_list(name, list_type='SHOPPING')```\n\nCreates a new list. list_type can be 'RECIPES' or 'SHOPPING'\n\n---\n\n```def toggle_item_crossed_off(list_id, item_id, cross_off=False)```\n\nToggle a list item's crossed off property based on `cross_off`\n\n---\n\n```def add_item_to_list(list_id, value)```\n\nAdds a new item to a given list\n\n---\n\n```def remove_item_from_list(list_id, item_id)```\n\nRemoves an item from a given list\n\n---\n\n\n## Exceptions\n\nthrows `InvalidLoginException` if can't login.\n\n\n## Development\n\nprerequisites\n```\npip install --upgrade pip setuptools wheel\npip install tqdm\npip install --upgrade twine\n```\n\nbuild\n```bash\npython setup.py sdist\n```\n\ninstall\n```bash\npython setup.py install\n```\n\nupload\n```bash\ntwine upload dist/*\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/ljmerza/py-our-groceries", "keywords": "unoffical our groceries api", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ourgroceries", "package_url": "https://pypi.org/project/ourgroceries/", "platform": "", "project_url": "https://pypi.org/project/ourgroceries/", "project_urls": { "Homepage": "https://github.com/ljmerza/py-our-groceries" }, "release_url": "https://pypi.org/project/ourgroceries/1.2.3/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Our Groceries Unofficial Python Package", "version": "1.2.3" }, "last_serial": 5614605, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ea8ff368189b94b10d46f2ae3f43ae77", "sha256": "06afcc3e89fb8736ad74bf1246029ea76405d8996aa0cb816d49c8538c8a4672" }, "downloads": -1, "filename": "ourgroceries-1.0.0-py3.7.egg", "has_sig": false, "md5_digest": "ea8ff368189b94b10d46f2ae3f43ae77", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": ">=3.5", "size": 5274, "upload_time": "2019-07-20T15:19:05", "url": "https://files.pythonhosted.org/packages/76/e3/f420a2be9c9bfa2330cdea67262130770e77b0e5b748ebea7b847a1f086f/ourgroceries-1.0.0-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "92def24ebef8f87fdd9dbc931c1e0ec6", "sha256": "5feffe5c551647592480911f8f63fdc8acd40635b8aebca219a9ba0e80b14d97" }, "downloads": -1, "filename": "ourgroceries-1.0.0.tar.gz", "has_sig": false, "md5_digest": "92def24ebef8f87fdd9dbc931c1e0ec6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 2783, "upload_time": "2019-07-20T15:19:03", "url": "https://files.pythonhosted.org/packages/b0/cf/1591b17035090c7c86a617fd2111a5683e15a2b451bf75f3a7f06ecbd262/ourgroceries-1.0.0.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "62320bb0054120f94837301e0dd1fc3a", "sha256": "15dfd60a8b2d3c7fc470263bfcb98823fafe9582cdb292bea22db9d8db2a3cb9" }, "downloads": -1, "filename": "ourgroceries-1.0.2.tar.gz", "has_sig": false, "md5_digest": "62320bb0054120f94837301e0dd1fc3a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 2654, "upload_time": "2019-07-20T15:33:23", "url": "https://files.pythonhosted.org/packages/e6/9d/7186cf9b876cc27200f8d45a90b1e26930c3d4245eabf8dd3ab1c08f142c/ourgroceries-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "32da244d15fd913e363ae6400f77fa05", "sha256": "91bd1f96d7a279925addef15f8052836c80f15f5ceb312ae2e24043863b7ed3c" }, "downloads": -1, "filename": "ourgroceries-1.0.3.tar.gz", "has_sig": false, "md5_digest": "32da244d15fd913e363ae6400f77fa05", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 2751, "upload_time": "2019-07-20T15:43:12", "url": "https://files.pythonhosted.org/packages/1e/72/153fca5155822c6cad55d2100448e8caff1ef93246d00be145a205b3302d/ourgroceries-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "fc72ac8f07f5f7e509bb594e36cf41ae", "sha256": "966482bac561a34e29279093bcfc2ec7e7e456fb27d987ea8f9dd1dcebdf63e9" }, "downloads": -1, "filename": "ourgroceries-1.1.0-py3.7.egg", "has_sig": false, "md5_digest": "fc72ac8f07f5f7e509bb594e36cf41ae", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": ">=3.5", "size": 5003, "upload_time": "2019-07-30T19:29:53", "url": "https://files.pythonhosted.org/packages/10/84/7d668fa572627696b13bcb540b9e9315f0be531a82eea5362c2386877a73/ourgroceries-1.1.0-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "8bf4f325a886fc97f6e9920530814baa", "sha256": "d26b4b6f03f08fed1c521d2be9c951b52a950ad219979d4d7f54b98ee80a5205" }, "downloads": -1, "filename": "ourgroceries-1.1.0.tar.gz", "has_sig": false, "md5_digest": "8bf4f325a886fc97f6e9920530814baa", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 2834, "upload_time": "2019-07-30T19:29:51", "url": "https://files.pythonhosted.org/packages/47/97/1adf346c92df08d1ac44ce9671e5f173972a811f751b763d4ec3ba112579/ourgroceries-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "45499b241b81f886e3189d7611a90c0e", "sha256": "f00ee9ffdfc5b406311e8db51503c64e15455f6705f7bcd6632f92588531bc99" }, "downloads": -1, "filename": "ourgroceries-1.1.1-py3.7.egg", "has_sig": false, "md5_digest": "45499b241b81f886e3189d7611a90c0e", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": ">=3.5", "size": 5031, "upload_time": "2019-07-30T19:42:47", "url": "https://files.pythonhosted.org/packages/8e/be/d8cc0dd7eaa017551261b06c0e4c78979b101f071fe8d655b3ddfffdacd6/ourgroceries-1.1.1-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "4e518a6c10af0961ed937f536ce19673", "sha256": "013ee73dcbe13024c712e9939060e324ef2c9dce8862b30a73b9a9d640e48f23" }, "downloads": -1, "filename": "ourgroceries-1.1.1.tar.gz", "has_sig": false, "md5_digest": "4e518a6c10af0961ed937f536ce19673", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 2844, "upload_time": "2019-07-30T19:42:46", "url": "https://files.pythonhosted.org/packages/17/d9/c1a9363227a5257375bbb6de2c88a8abfdab90f6dcff86318c479f5a0332/ourgroceries-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "065e5b615ba402870a2d4aeaf48d311c", "sha256": "f31707a0ba27e80345292b19e10288336a49b5342d6f07c249aa97b78a46fc94" }, "downloads": -1, "filename": "ourgroceries-1.2.0-py3.7.egg", "has_sig": false, "md5_digest": "065e5b615ba402870a2d4aeaf48d311c", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": ">=3.5", "size": 7008, "upload_time": "2019-07-31T15:57:22", "url": "https://files.pythonhosted.org/packages/1a/b2/9dff1675a5cc6107f42b85a98c4177d2c54005208130b8b00493643f0998/ourgroceries-1.2.0-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "2f53757d0ba3e92854cfadb4145ed6ea", "sha256": "e96f33cb58dc949c76e36fd7a738e31955a8245803de47aa580293efe46928ac" }, "downloads": -1, "filename": "ourgroceries-1.2.0.tar.gz", "has_sig": false, "md5_digest": "2f53757d0ba3e92854cfadb4145ed6ea", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3613, "upload_time": "2019-07-31T15:57:21", "url": "https://files.pythonhosted.org/packages/02/d7/678313c4b2daf7ed41abc48d3062011795928cc86e3b14c727b37254f2bc/ourgroceries-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "3f5ef97bd4aadf1647f7e6b277d63efe", "sha256": "6d2fed116bb8e69d24029cee66e924bb45e85241d93b36223989eaae48f8abd3" }, "downloads": -1, "filename": "ourgroceries-1.2.1.tar.gz", "has_sig": false, "md5_digest": "3f5ef97bd4aadf1647f7e6b277d63efe", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3613, "upload_time": "2019-07-31T16:01:42", "url": "https://files.pythonhosted.org/packages/74/0a/ac372ee8d06db28bf66e4182c5a801d38805c246e57a59b939bce3920946/ourgroceries-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "9e5c13a5fbf08d78b0a33af3203ff67f", "sha256": "839f7dea94c01c9f8c5b5169c06a7f97c07a4ce5cfd02f2f6114d284794b03e8" }, "downloads": -1, "filename": "ourgroceries-1.2.2.tar.gz", "has_sig": false, "md5_digest": "9e5c13a5fbf08d78b0a33af3203ff67f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3612, "upload_time": "2019-07-31T16:02:46", "url": "https://files.pythonhosted.org/packages/a1/bf/0bd5810651d0caf29ae3ca2a5d7b8889d12e95a5aefcf60ec9688e59377c/ourgroceries-1.2.2.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "7e69002f09432686978e3cdbfef82ef9", "sha256": "9e7b7350cc289ff4507fa5d56db50049be269aa602250694086ffff87b91a2ac" }, "downloads": -1, "filename": "ourgroceries-1.2.3.tar.gz", "has_sig": false, "md5_digest": "7e69002f09432686978e3cdbfef82ef9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3610, "upload_time": "2019-07-31T17:06:17", "url": "https://files.pythonhosted.org/packages/cd/c8/d55fbf64055913a14c31b965c35c803102150356b3f1bf7b869397f91da7/ourgroceries-1.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e69002f09432686978e3cdbfef82ef9", "sha256": "9e7b7350cc289ff4507fa5d56db50049be269aa602250694086ffff87b91a2ac" }, "downloads": -1, "filename": "ourgroceries-1.2.3.tar.gz", "has_sig": false, "md5_digest": "7e69002f09432686978e3cdbfef82ef9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3610, "upload_time": "2019-07-31T17:06:17", "url": "https://files.pythonhosted.org/packages/cd/c8/d55fbf64055913a14c31b965c35c803102150356b3f1bf7b869397f91da7/ourgroceries-1.2.3.tar.gz" } ] }