Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Yelp Fusion API Python Code Sample

Overview

This program demonstrates the capability of the Yelp Fusion API by using the Search API to query for businesses by a search term and location, and the Business API to query additional information about the top result from the search query.

Please refer to API documentation for more details.

Steps to run

To install the dependencies, run: pip install -r requirements.txt.

Run the code sample without specifying any arguments: python sample.py

Run the code sample by specifying the optional arguments: python sample.py --term="bars" --location="San Francisco, CA"