1.2.1 • Published 1 month ago

hubot-foursquare-lunch v1.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
1 month ago

Hubot Foursquare Lunch

npm version Node CI

Use Foursquare API to pick a lunch spot.

Configuration

  1. Register a Foursquare application to obtain your FOURSQUARE_CLIENT_ID and FOURSQUARE_CLIENT_SECRET.
  2. Find your HUBOT_DEFAULT_LATITUDE and HUBOT_DEFAULT_LONGITUDE values using Google Maps or another tool.
Configuration VariableRequiredDescription
HUBOT_DEFAULT_LATITUDEYesLatitude in decimal format, e.g. 36.1514179
HUBOT_DEFAULT_LONGITUDEYesLongitude in decimal format, e.g. -86.8262359
FOURSQUARE_CLIENT_IDYesThe Client ID for your application
FOURSQUARE_CLIENT_SECRETYesThe Client Secret for your application
FOURSQUARE_PRICE_LEVELSNoComma-separated price levels, 1-4 (default: 1,2,3)
FOURSQUARE_SEARCH_QUERYNoThe search query to use (default: lunch)
FOURSQUARE_SEARCH_METERSNoThe search radius from your location (default: 1600)

Installing

See full instructions here.

  1. npm install hubot-foursquare-lunch --save (updates your package.json file)
  2. Open the external-scripts.json file in the root directory (you may need to create this file) and add an entry to the array (e.g. [ 'hubot-foursquare-lunch' ]).

Usage

alice> hubot lunch
hubot> Bob's Burgers (103 Ocean Avenue) - http://www.fox.com/Shows/Bobs-Burgers
1.2.1

1 month ago

1.2.0

4 months ago

1.1.17

5 months ago

1.1.16

11 months ago

1.1.15

1 year ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

8 years ago

1.0.0

9 years ago