{"repo":"lanl/yelpapi","free":true,"listed":false,"github":"https://github.com/lanl/yelpapi","clone":"git clone https://github.com/lanl/yelpapi.git","description":"yelpapi is a pure Python implementation of the Yelp Fusion API (aka Yelp v3 API).","language":"Python","stars":139,"topics":["python","python-yelp","yelp","api"],"license":"BSD-3-Clause","category":"api-integrations-sdks","readme_excerpt":"yelpapi LICENSE This software is licensed under the BSD 3-Clause License. Please refer to the separate LICENSE file for the exact text of the license. You are obligated to give attribution if you use this code. ABOUT yelpapi is a pure Python implementation of the Yelp Fusion API. It is simple, fast, and robust to any changes Yelp may make to the API in the future. REQUIREMENTS This code requires Python 3.9 or higher and requests. INSTALL yelpapi is available on PyPI at https://pypi.org/project/yelpapi/. Install using pip: pip install yelpapi USING THIS CODE This API is demonstrated more thoroughly in examples.py, but the following chunk of code demonstrates basic use of yelpapi: You can also set timeouts so API calls do not block indefinitely in degraded network conditions: Under the covers, this module uses a requests.Session object for issuing all API calls, which offers potentially significant performance benefits over issuing separate API calls outside of a session. You should be sure to close the underlying session when all API interactions are complete. The above examples demonstrate using the class as a context manager, which will automatically close the connection when you're done and is the preferred way of using the class, but you can also manually close it like this if a context manager won't work for your use case: METHODS Autocomplete API - autocomplete query(...) Business API - business query(...) Business Engagement Metrics API - business engagement query(...) ","default_branch":null,"files":null,"tree":[],"storefront":"/r/lanl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lanl/yelpapi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}