Skip to content

Tool for matching a list of Yelp queries to ratings and additional result data

License

Notifications You must be signed in to change notification settings

arcreative/yelp-match

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yelp-match

Simple batch tool for finding closest yelp results and ratings. There has never been a comprehensive way of getting Yelp ratings for tabular data, such as a list of doctors or dentists. I needed this for just that purpose recently, and it works pretty well for such a task.

Usage

syntax

npm install
node index.js dentists.csv

dentists.csv

Anthony Daniel
Robert Chong
Pastel Dental
Leo Arellano

output

"name","matched_name","rating","url","phone"
"Anthony Daniel","City Arts & Lectures","4.5","http://www.yelp.com/biz/city-arts-and-lectures-san-francisco","4155632463"
"Robert Chong","CAAMFest","5","http://www.yelp.com/biz/caamfest-san-francisco","4158630814"
"Pastel Dental","Miette","4","http://www.yelp.com/biz/miette-san-francisco-4","4156266221"
"Leo Arellano"

Configuration

There's some boilerplate laid out in config.json to get you started, hopefully most of these settings are self-explanatory. search_radius is in meters, and a list of category_filter values can be found in the Yelp API docs

Tests

Ain't nobody got time fo dat!

Contributions

Clearly this was a 1 hour hack, but if you want to contribute, you're more than welcome :-)

About

Tool for matching a list of Yelp queries to ratings and additional result data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published