{ "info": { "author": "M. Hilhorst", "author_email": "michaeljianghilhorst@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Albert Heijn (unofficial) REST interface\n\nNew features are being added\n\n# Installation\n pip install albert\n\n# Usage\n\n### Initalize API\n import albert\n ah = albert.Api(\"username\",\"password\")\nMake an account on ah.nl.\n### Add product to cart \n ah.add(\"wi386562\",amount=30)\nYou can find products on www.albertheijn.nl. I.e., https://www.ah.nl/producten2/product/wi383655/ah-conference-peren\nBy default, one item is added to cart if you dont pass the second parameter.\n\n### Items in cart\n ah.cart()\n\n### Empty cart\n ah.empty()\n\n### Save cart to list\n ah.shopping_list_add(\"Name of List\", empty_card=False)\nStandard after calling shopping_list_add method, by Default, the items in your cart will remain. When passing the second argument as True, the items will get removed from your cart after saving the cart items to list.\n\n### Product Information\n ah_product = albert.Product('wi60539/ah-scharrelei-advocaat')\n print(ah_product.id)\n\npass the query without producten/product/ from a product as string argument to retrieve information from the product. Several items can be accessed:\n- `id`\n- `name`\n- `brand`\n- `description`\n- `summary`\n- `unit_size`\n- `category`\n- `is_available`\n- `priceLabel`\n- `price_current`\n- `price_previous`\n- `is_discounted`", "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/MHilhorst/albertheijn", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "albert", "package_url": "https://pypi.org/project/albert/", "platform": "", "project_url": "https://pypi.org/project/albert/", "project_urls": { "Homepage": "https://github.com/MHilhorst/albertheijn" }, "release_url": "https://pypi.org/project/albert/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "Interact with hidden REST API of albertheijn.nl", "version": "1.3.1" }, "last_serial": 5156296, "releases": { "1.3": [ { "comment_text": "", "digests": { "md5": "bb3d59d62535b5269aa3247bea864a07", "sha256": "46c9b8a1ffde98137ddb88b3a356654aaf60090280b6379ed9d98cc695581574" }, "downloads": -1, "filename": "albert-1.3.tar.gz", "has_sig": false, "md5_digest": "bb3d59d62535b5269aa3247bea864a07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3462, "upload_time": "2019-04-17T17:02:34", "url": "https://files.pythonhosted.org/packages/45/27/7f3d11fa2da67d8aa690a644d0c74c25f7c613eaccdce765e50e759a4a19/albert-1.3.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "cf104510ec282d94f6e9007de174e7be", "sha256": "ac446c754796c8e6559b0737c12c0581371704a90e34c64db22b2242122b37a1" }, "downloads": -1, "filename": "albert-1.3.1.tar.gz", "has_sig": false, "md5_digest": "cf104510ec282d94f6e9007de174e7be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3478, "upload_time": "2019-04-17T17:06:37", "url": "https://files.pythonhosted.org/packages/c0/57/74b8db6a058e207c3ef1c9c573d08e724f8f54fbbe95e85c2ee4254eb0b3/albert-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf104510ec282d94f6e9007de174e7be", "sha256": "ac446c754796c8e6559b0737c12c0581371704a90e34c64db22b2242122b37a1" }, "downloads": -1, "filename": "albert-1.3.1.tar.gz", "has_sig": false, "md5_digest": "cf104510ec282d94f6e9007de174e7be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3478, "upload_time": "2019-04-17T17:06:37", "url": "https://files.pythonhosted.org/packages/c0/57/74b8db6a058e207c3ef1c9c573d08e724f8f54fbbe95e85c2ee4254eb0b3/albert-1.3.1.tar.gz" } ] }