{
"info": {
"author": "rizemon",
"author_email": "tan.jia.le.98@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Build Tools"
],
"description": "# pySGDabao\nA library for your Singapore food delivery needs\n\n## Currently supports\n* Foodpanda\n* Deliveroo\n* HonestBee\n\n## Getting started\n```python\nfrom pySGDabao import * \n\npostal_code = 530511\nfoodpanda_client = Foodpanda(postal_code)\nprint(foodpanda_client.get_menu_items(\"KFC (Hougang Mall)\"))\n\n\"\"\"\n[\n {\n \"description\": \"1 HotBlaze Grilled Chicken, 3 pcs Nuggets, 1 side and 1 drink\",\n \"image\": \"\",\n \"name\": \"HotBlaze Grilled Meal\",\n \"price\": 10.95\n },\n {\n \"description\": \"1 HotBlaze Grilled Chicken, 3 pcs Chicken, 3 pcs Hot & Crispy Tenders, 2 sides and 2 drinks\",\n \"image\": \"\",\n \"name\": \"HotBlaze Grilled Buddy Meal\",\n \"price\": 26.95\n },\n ...\n]\n\"\"\"\n```\n\n## Main Functions\n\n### ```pySGDabao.Foodpanda(self, postal_code, base_url=\"https://sg.fd-api.com/\")```\n### ```pySGDabao.Deliveroo(self, postal_code, base_url=\"https://deliveroo.com.sg/\")```\n### ```pySGDabao.Honestbee(self, postal_code, base_url=\"https://www.honestbee.sg/\")```\n> Creates an object that stores information regarding the available restaurants located near the given postal code. If ```base_url``` is specified, all HTTP requests to be made will be relative to it. \n\n
\n\n### ```pySGDabao.Foodpanda.get_restaurant_names()```\n### ```pySGDabao.Deliveroo.get_restaurant_names()```\n### ```pySGDabao.Honestbee.get_restaurant_names()```\n> Gets a list of restaurant names near the given postal code\n\n
\n\n### ```pySGDabao.Foodpanda.get_url(restaurant_name)```\n### ```pySGDabao.Deliveroo.get_url(restaurant_name)```\n### ```pySGDabao.Honestbee.get_url(restaurant_name)```\n> Gets the URL link to the given restaurant's page\n\n
\n\n### ```pySGDabao.Foodpanda.get_menu_items(restaurant_name)```\n### ```pySGDabao.Deliveroo.get_menu_items(restaurant_name)```\n### ```pySGDabao.Honestbee.get_menu_items(restaurant_name)```\n> Gets a list of dictionaries comprising the name, description, price and image URL of each item sold by the given restaurant\n\n
\n\n## Advanced Functions\n\n### ```pySGDabao.Foodpanda.scrape_restaurants()```\n### ```pySGDabao.Deliveroo.scrape_restaurants()```\n### ```pySGDabao.Honestbee.scrape_restaurants()```\n> Returns the raw JSON from the website's search page\n\n
\n\n### ```pySGDabao.Foodpanda.scrape_menu(restaurant_name)```\n### ```pySGDabao.Deliveroo.scrape_menu(restaurant_name)```\n### ```pySGDabao.Honestbee.scrape_menu(restaurant_name)```\n> Returns the raw JSON from the given restaurant's page",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "https://github.com/rizemon/pySGDabao/archive/v1.0.1.tar.gz",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/rizemon/pySGDabao",
"keywords": "Foodpanda,Deliveroo,Honestbee",
"license": "Apache License 2.0",
"maintainer": "",
"maintainer_email": "",
"name": "pySGDabao",
"package_url": "https://pypi.org/project/pySGDabao/",
"platform": "",
"project_url": "https://pypi.org/project/pySGDabao/",
"project_urls": {
"Download": "https://github.com/rizemon/pySGDabao/archive/v1.0.1.tar.gz",
"Homepage": "https://github.com/rizemon/pySGDabao"
},
"release_url": "https://pypi.org/project/pySGDabao/1.0.1/",
"requires_dist": null,
"requires_python": "",
"summary": "A library for your Singapore food delivery needs",
"version": "1.0.1"
},
"last_serial": 5287180,
"releases": {
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "e8681a5c19748e660b7c4c5c2e2463e6",
"sha256": "d302c7bdf10af22201a80c56e45109b54e371b6c0e767eb5171398ce9d269be5"
},
"downloads": -1,
"filename": "pySGDabao-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "e8681a5c19748e660b7c4c5c2e2463e6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4029,
"upload_time": "2019-05-19T03:50:10",
"url": "https://files.pythonhosted.org/packages/50/9a/caa144a2cc01aeae43a94e098eed5713bc7c97118583249973ccf803f492/pySGDabao-1.0.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e8681a5c19748e660b7c4c5c2e2463e6",
"sha256": "d302c7bdf10af22201a80c56e45109b54e371b6c0e767eb5171398ce9d269be5"
},
"downloads": -1,
"filename": "pySGDabao-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "e8681a5c19748e660b7c4c5c2e2463e6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4029,
"upload_time": "2019-05-19T03:50:10",
"url": "https://files.pythonhosted.org/packages/50/9a/caa144a2cc01aeae43a94e098eed5713bc7c97118583249973ccf803f492/pySGDabao-1.0.1.tar.gz"
}
]
}