yelp2geo

0.1.0 • Public • Published

yelp2geo

Find TERM-related places in CITY and render results as geojson or map.

conversion process

That is, you can search for places falling in some category ("chinese takeout") within some city ("Seattle") and render the geocoded location results in geojson format or as a map via geojson.io.

Usage

yelp2geo [--in CITY] [--map] TERM

Examples

yelp2geo tacos
yelp2geo --in Louisville brewpubs
yelp2geo --in Nashville "chinese takeout"
yelp2geo --in Milwaukee --map "bowling alleys"

Config

You need to add your Yelp API key and whatnot in config.json.

Request API access here.

You can also specify your default city and search term of interest:

{
  "consumer_key": "YOUR_YELP_CONSUMER_KEY",
  "consumer_secret": "YOUR_YELP_CONSUMER_SECRET",
  "token": "YOUR_YELP_TOKEN",
  "token_secret": "YOUR_YELP_TOKEN_SECRET",
  "default": {
    "city": "Nashville",
    "term": "tacos"
  }
}

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i yelp2geo

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • joyrexus