Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 731 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 731 Bytes

Yelp

Getting Started

You'll need Python 3 and Node.js to run the code in this project.

Reviews

The review fetching script is written in Node.js and uses Google Chrome's Puppeteer. First, install all of the Node dependencies.

    $ npm install

Now you can fetch reviews. If the URL for a business is https://www.yelp.com/biz/tartine-bakery-and-cafe-san-francisco, then tartine-bakery-and-cafe-san-francisco is the business id. Pass this into /bin/reviews to get all the reviews for the business in JSON format.

    $ ./bin/reviews tartine-bakery-and-cafe-san-francisco