mapsquare
Get GeoJSON from the Foursquare venues API
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