{ "info": { "author": "Krzysztof Jagiello", "author_email": "me@kjagiello.com", "bugtrack_url": null, "classifiers": [], "description": "# pynarlivs\n\n![https://badge.fury.io/py/pynarlivs](http://badge.fury.io/py/pynarlivs.png)\n\nEver wanted to interact with ![http://www.narlivs.se](Narlivs) using an API?\nYep, there is none. We are here to make your life easier! This library aims\nto provide a Pythonic interface for some basic functionalities on Narlivs,\ni.e. retrieving product information (or, in future, automating the order\nprocess).\n\n## What do we use pynarlivs for?\n\nWhen receiving a delivery from Narlivs, we get a delivery receipt both on paper\nand in PDF format. We parse the PDF file programatically in order to automatically\nupdate the in-stock product quantities.\n\n## Quickstart guide\n\nInstall using pip:\n\n```bash\npip install pynarlivs\n```\n\nRetrieve product information using its EAN code:\n```python\n>>> from narlivs import Narlivs\n>>> client = Narlivs('username', 'password')\n>>> product = client.get_product(ean='7310350109265')\n>>> product\n\n>>> product.data\n{'ean': '7310350109265',\n 'image': '(...)/product/products/images/7310350109265.jpg',\n 'name': 'BRIO FRUKT P\u00c5SE',\n 'price': Decimal('3.99'),\n 'sku': '100102201'}\n```\n\n## License\n\nMIT License. Please see the LICENSE file.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/uppsaladatavetare/pynarlivs", "keywords": null, "license": "MIT license", "maintainer": null, "maintainer_email": null, "name": "pynarlivs", "package_url": "https://pypi.org/project/pynarlivs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pynarlivs/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/uppsaladatavetare/pynarlivs" }, "release_url": "https://pypi.org/project/pynarlivs/0.9.0/", "requires_dist": null, "requires_python": null, "summary": "Client library for the non-existent Narlivs API.", "version": "0.9.0" }, "last_serial": 3351946, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "4c0cf1bf1c234b7607463b444c847e50", "sha256": "ccd8479c7d36713492625eba0a6d80b46da10d4889b066264d94d0216c9fcb95" }, "downloads": -1, "filename": "pynarlivs-0.9.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4c0cf1bf1c234b7607463b444c847e50", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5834, "upload_time": "2016-12-01T21:50:23", "url": "https://files.pythonhosted.org/packages/34/0d/f8aa0fabae94d350071dd34b1dfa60c6cedd6cf7e4e9b1f8659fe30369a0/pynarlivs-0.9.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f3893a9ead839b777b47f17492a9e62", "sha256": "32a8765f8a9b213ee26a23bf3be17cc141bfb038857f11995d3695058cd863cf" }, "downloads": -1, "filename": "pynarlivs-0.9.0.tar.gz", "has_sig": false, "md5_digest": "2f3893a9ead839b777b47f17492a9e62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4219, "upload_time": "2016-12-01T21:50:21", "url": "https://files.pythonhosted.org/packages/e5/8f/3fb3c4cd8e6c26cb9c10005947aed278fb68d86355db8005e18d90402c56/pynarlivs-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c0cf1bf1c234b7607463b444c847e50", "sha256": "ccd8479c7d36713492625eba0a6d80b46da10d4889b066264d94d0216c9fcb95" }, "downloads": -1, "filename": "pynarlivs-0.9.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4c0cf1bf1c234b7607463b444c847e50", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5834, "upload_time": "2016-12-01T21:50:23", "url": "https://files.pythonhosted.org/packages/34/0d/f8aa0fabae94d350071dd34b1dfa60c6cedd6cf7e4e9b1f8659fe30369a0/pynarlivs-0.9.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f3893a9ead839b777b47f17492a9e62", "sha256": "32a8765f8a9b213ee26a23bf3be17cc141bfb038857f11995d3695058cd863cf" }, "downloads": -1, "filename": "pynarlivs-0.9.0.tar.gz", "has_sig": false, "md5_digest": "2f3893a9ead839b777b47f17492a9e62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4219, "upload_time": "2016-12-01T21:50:21", "url": "https://files.pythonhosted.org/packages/e5/8f/3fb3c4cd8e6c26cb9c10005947aed278fb68d86355db8005e18d90402c56/pynarlivs-0.9.0.tar.gz" } ] }