{ "info": { "author": "Rosco Kalis", "author_email": "roscokalis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "AppiePy: A Python API for Albert Heijn\n======================================\n\n.. image:: https://img.shields.io/pypi/v/appiepy.svg\n :target: https://pypi.python.org/pypi/appiepy/\n :alt: Version\n.. image:: https://img.shields.io/pypi/l/appiepy.svg\n :target: https://pypi.python.org/pypi/appiepy/\n :alt: PyPI - License\n\nAppiePy is a wrapper around Albert Heijn products you can find on their website `https://ah.nl/ `_.\nIt allows you to retrieve information about these products and use it inside your application. Common uses are price/discount information, brand/category information, or nutritional information.\n\n\nInstallation\n------------\nInstallation can be done through pip:\n\n.. code-block:: shell\n\n pip install appiepy\n\nUsage\n-----\n\n.. code-block:: python\n\n from appiepy import Product\n from pprint import pprint\n\n # Full product url\n product = Product('https://www.ah.nl/producten/product/wi193679/lay-s-paprika')\n\n # Or just the path\n product = Product('/producten/product/wi193679/lay-s-paprika')\n\n pprint(vars(products))\n\n # {\n # 'brand': \"Lay's\",\n # 'category': 'Snoep, koek, chips/Paprika chips',\n # 'description': \"Lay's Paprika\",\n # 'features': [{'identifier': 'green_dot', 'text': 'Groene Punt'}],\n # 'id': 'wi193679',\n # 'ingredients': ['aardappelen',\n # ' plantaardige oli\u00ebn (zonnebloem (26%), koolzaad (6%))',\n # ' paprikasmaak [suiker, zout, paneermeel (van TARWE), '\n # 'paprika, MELKWEI-permeaat, uienpoeder, kaliumchloride, '\n # \"aroma's, knoflookpoeder, johannesbroodpitmeel, kleurstof \"\n # \"(paprika-extract), rookaroma's, zuurteregelaars (citroenzuur \"\n # 'en appelzuur)].'],\n # 'is_available': True,\n # 'is_discounted': False,\n # 'nutrition': {'Eiwitten': '6.1 g',\n # 'Energie': '2215 kJ (531 kcal)',\n # 'Koolhydraten': '52 g',\n # 'Vet': '32 g',\n # 'Voedingsvezel': '4.6 g',\n # 'Waarvan suikers': '2.4 g',\n # 'Waarvan verzadigd': '2.7 g',\n # 'Zout': '1.4 g'},\n # 'price_current': 1.29,\n # 'price_previous': None,\n # 'summary': \"De enige echte Lay's chips met paprikasmaak[list][*]Zonder \"\n # 'kunstmatige kleurstoffen en conserveringsmiddelen\\n'\n # '[*]Zonder toegevoegde smaakversterkers\\n'\n # '[*]Bevat 7-8 porties\\n'\n # '[/list]',\n # 'unit_size': '225 g',\n # 'url': '/producten/product/wi193679/lay-s-paprika'\n # }\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rkalis/AppiePy", "keywords": "albert heijn products API nutrition price", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "appiepy", "package_url": "https://pypi.org/project/appiepy/", "platform": "", "project_url": "https://pypi.org/project/appiepy/", "project_urls": { "Homepage": "https://github.com/rkalis/AppiePy" }, "release_url": "https://pypi.org/project/appiepy/0.2.0/", "requires_dist": [ "requests", "twine; extra == 'dev'", "nose; extra == 'test'", "coverage; extra == 'test'" ], "requires_python": "~=3.4", "summary": "A Python API for Albert Heijn", "version": "0.2.0" }, "last_serial": 3735032, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2ad7293166f77347c979594c289e0ebc", "sha256": "64af61e0fb85220cc453331d03a023c77b329e932cb52d5e0df982e48626e4ac" }, "downloads": -1, "filename": "appiepy-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2ad7293166f77347c979594c289e0ebc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5340, "upload_time": "2018-03-24T15:09:13", "url": "https://files.pythonhosted.org/packages/db/dc/0fc9f4f7620301ffcf2085b0d4c3de45f400fda9e30a6087759e9c0963c5/appiepy-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e8e69ba9da19bbf8086cb2804ac181b", "sha256": "610539f8f371a87c5d0b92f202a21c46a480b06442e975185674d8818092444b" }, "downloads": -1, "filename": "appiepy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2e8e69ba9da19bbf8086cb2804ac181b", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 4281, "upload_time": "2018-03-24T15:09:13", "url": "https://files.pythonhosted.org/packages/26/8c/9229509db631101876571c8158e45563126a212f6e1914f4cb8e86ce9dc2/appiepy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "72c842230a3abc18b4614e0563fe1857", "sha256": "c3ce26e8e40156d1da57cf97f8203c94dcc8165d12f0e54bd765a24de1c54847" }, "downloads": -1, "filename": "appiepy-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "72c842230a3abc18b4614e0563fe1857", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5317, "upload_time": "2018-03-24T15:34:07", "url": "https://files.pythonhosted.org/packages/0d/e8/12e3327a17e1a5624765d3d8a698fb1e8b66dde7ab307905f0c20a937c1d/appiepy-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd52597ce745a16b2ba573c91519517d", "sha256": "300a4c6c5520b636cc9fd2d06caee80cfc7de12ca90c9b5e15a01d04280fb045" }, "downloads": -1, "filename": "appiepy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dd52597ce745a16b2ba573c91519517d", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 4205, "upload_time": "2018-03-24T15:34:08", "url": "https://files.pythonhosted.org/packages/c9/21/a518084046d678e7555b276f7dcd4fbca47ca0951eed089483628a52432e/appiepy-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "198af618140a9faee116a04b5bfec2b2", "sha256": "a5218533a7f68dc1b3580e6bc04f835f28f7acb000a3be1407cc7ed2102410d9" }, "downloads": -1, "filename": "appiepy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "198af618140a9faee116a04b5bfec2b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5815, "upload_time": "2018-04-04T19:31:33", "url": "https://files.pythonhosted.org/packages/83/ec/7bc3d3adfbcfd7afe3e7688db1d3e93337314eb88b975d91946c42502e8f/appiepy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "127ff2af3f4130f0331ec55088253715", "sha256": "66d325553ac5c548fe9fb692c57810418d7e6152c99bfc064cb75f98ccd3c24b" }, "downloads": -1, "filename": "appiepy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "127ff2af3f4130f0331ec55088253715", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 4556, "upload_time": "2018-04-04T19:31:34", "url": "https://files.pythonhosted.org/packages/5a/2b/b99fac4f29784c01498773105c5645e9c50e68e0f3b686c57316739c0813/appiepy-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "198af618140a9faee116a04b5bfec2b2", "sha256": "a5218533a7f68dc1b3580e6bc04f835f28f7acb000a3be1407cc7ed2102410d9" }, "downloads": -1, "filename": "appiepy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "198af618140a9faee116a04b5bfec2b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.4", "size": 5815, "upload_time": "2018-04-04T19:31:33", "url": "https://files.pythonhosted.org/packages/83/ec/7bc3d3adfbcfd7afe3e7688db1d3e93337314eb88b975d91946c42502e8f/appiepy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "127ff2af3f4130f0331ec55088253715", "sha256": "66d325553ac5c548fe9fb692c57810418d7e6152c99bfc064cb75f98ccd3c24b" }, "downloads": -1, "filename": "appiepy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "127ff2af3f4130f0331ec55088253715", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.4", "size": 4556, "upload_time": "2018-04-04T19:31:34", "url": "https://files.pythonhosted.org/packages/5a/2b/b99fac4f29784c01498773105c5645e9c50e68e0f3b686c57316739c0813/appiepy-0.2.0.tar.gz" } ] }