Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mapsquare

1.1.2 • Public • Published

mapsquare

Get GeoJSON from the Foursquare venues API

slc_hardware

Installation

npm install mapsquare -g

Usage

mapsquare -l <placename> -q <venue keyword query> -a <Foursquare authorization token> -g

Arguments

  • -l, --location (REQUIRED) A placename for the venue search (e.g. 'Salt Lake City, UT')
  • -q, --query (REQUIRED) A venue type keyword (e.g. 'hardware' or 'movie theater')
  • -a, --auth (REQUIRED) Foursquare authorization token. Get a convenience token for testing here (Foursquare login or signup required).
  • -g, --gist (OPTIONAL) Flag to output results as an anonymous gist

Notes

  • Limited to 50 venues per request - Foursquare will choose these based on ratings and relevance, not necessarily by proximity
  • Be sure to fork the gist outputs (like this one) to your own github account

License

MIT

install

npm i mapsquare

Downloadsweekly downloads

16

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar