{ "info": { "author": "Michael Otte", "author_email": "michaelotte2013@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Development Status :: 5 - Production/Stable" ], "description": "Pyyelp\r\n=======\r\n\r\nPyyelp is a python wrapper for the Yelp API v2\r\n\r\nI wrote this wrapper because I couldn't find a comprehensive, lightweight Yelp API wrapper for Python. This wrapper has methods for Search, Business, and Phone APIs and supports all associated parameters - all in a nice, lightweight package.\r\n\r\nYelp API v2 docs \r\n\r\nRequires\r\n-------\r\n- oauth2\r\n\r\nFast install\r\n-------\r\n\r\npip install pyyelp\r\n\r\n\r\n- Add the following in **settings.py** or .bash_profile\r\n\r\nYELP_API_CONSUMER_KEY={{ CONSUMER_KEY }}\r\nYELP_API_CONSUMER_SECRET={{ CONSUMER_SECRET }}\r\nYELP_API_TOKEN={{ TOKEN }}\r\nYELP_API_TOKEN_SECRET={{ SECRET_TOKEN }}\r\n\r\n\r\nFast example\r\n-------\r\n**Term and Location are required for Search**\r\n\r\nfrom pyyelp.pyyelp import Yelp\r\n\r\nyelp = Yelp()\r\nsearch_result = yelp.search(term=\"foo store\", location=\"California\")\r\n\r\n\r\nExamples\r\n-------\r\n1. **Search** Example\r\n\r\nfrom pyyelp.pyyelp import Yelp\r\n\r\nyelp = Yelp()\r\nsearch_result = yelp.search(term=\"Don Quixote's Restaurant\", location=\"Santa Cruz, California\")\r\n\r\n\r\n2. **Business** Example\r\n\r\nfrom pyyelp.pyyelp import Yelp\r\n\r\nyelp = Yelp()\r\nbusiness_result = yelp.get_business_by_id(\"taqueria-los-gallos-newark\")\r\n\r\n\r\n3. **Phone** Example\r\n\r\nfrom pyyelp import Yelp\r\n\r\nyelp = Yelp()\r\nphone_result = yelp.search_by_phone_number(\"1234567890\")\r\n\r\n\r\nTODO\r\n-------\r\n- Errors\r\n- Proper Testing\r\n\r\nContribute\r\n-------\r\n1. Fork the repo \r\n2. Test the code thoroughly\r\n3. Code with pep8 \r\n4. Pull request\r\n\r\nTests\r\n-------\r\nUnit test setup to come.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/motte/python-yelp/tarball/0.1.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/motte/python-yelp", "keywords": "yelp,wrapper,api", "license": "ISC", "maintainer": "", "maintainer_email": "", "name": "pyyelp", "package_url": "https://pypi.org/project/pyyelp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyyelp/", "project_urls": { "Download": "https://github.com/motte/python-yelp/tarball/0.1.1", "Homepage": "https://github.com/motte/python-yelp" }, "release_url": "https://pypi.org/project/pyyelp/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Comprehensive Python wrapper for the Yelp v2 api", "version": "0.1.1" }, "last_serial": 1503607, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "737a6bd869dd6be4a0e540ef5fe3e8d6", "sha256": "466c58cce8b93b017a6ac6d4d604ca77ae0d769f37dfc52c6944faf6702b287f" }, "downloads": -1, "filename": "pyyelp-0.1.tar.gz", "has_sig": false, "md5_digest": "737a6bd869dd6be4a0e540ef5fe3e8d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4536, "upload_time": "2015-04-02T07:51:40", "url": "https://files.pythonhosted.org/packages/fc/89/4b7141d0f485e8888f533d717049ca6099e47054c9072ee89f952e7145c4/pyyelp-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3a585769403a988d3a35454e7a373532", "sha256": "73628c1a099a070f0ea2648e9977e1ea6371a3baf2085b16aff31e431407d432" }, "downloads": -1, "filename": "pyyelp-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3a585769403a988d3a35454e7a373532", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4679, "upload_time": "2015-04-02T08:28:30", "url": "https://files.pythonhosted.org/packages/61/e0/5c6664d97a7c20b6d546f9a11e4276bef25a568bfbdba16add5b4cf11dfc/pyyelp-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a585769403a988d3a35454e7a373532", "sha256": "73628c1a099a070f0ea2648e9977e1ea6371a3baf2085b16aff31e431407d432" }, "downloads": -1, "filename": "pyyelp-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3a585769403a988d3a35454e7a373532", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4679, "upload_time": "2015-04-02T08:28:30", "url": "https://files.pythonhosted.org/packages/61/e0/5c6664d97a7c20b6d546f9a11e4276bef25a568bfbdba16add5b4cf11dfc/pyyelp-0.1.1.tar.gz" } ] }