1.2.3 • Published 8 months ago
hubot-foursquare-lunch v1.2.3
Hubot Foursquare Lunch
Use Foursquare API to pick a lunch spot.
Configuration
- Register a Foursquare application to obtain your
FOURSQUARE_CLIENT_IDandFOURSQUARE_CLIENT_SECRET. - Find your
HUBOT_DEFAULT_LATITUDEandHUBOT_DEFAULT_LONGITUDEvalues using Google Maps or another tool.
| Configuration Variable | Required | Description |
|---|---|---|
HUBOT_DEFAULT_LATITUDE | Yes | Latitude in decimal format, e.g. 36.1514179 |
HUBOT_DEFAULT_LONGITUDE | Yes | Longitude in decimal format, e.g. -86.8262359 |
FOURSQUARE_CLIENT_ID | Yes | The Client ID for your application |
FOURSQUARE_CLIENT_SECRET | Yes | The Client Secret for your application |
FOURSQUARE_PRICE_LEVELS | No | Comma-separated price levels, 1-4 (default: 1,2,3) |
FOURSQUARE_SEARCH_QUERY | No | The search query to use (default: lunch) |
FOURSQUARE_SEARCH_METERS | No | The search radius from your location (default: 1600) |
Installing
See full instructions here.
npm install hubot-foursquare-lunch --save(updates yourpackage.jsonfile)- Open the
external-scripts.jsonfile 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-Burgers1.2.3
8 months ago
1.2.2
1 year ago
1.2.1
2 years ago
1.2.0
2 years ago
1.1.17
2 years ago
1.1.16
2 years ago
1.1.15
3 years ago
1.1.14
3 years ago
1.1.13
3 years ago
1.1.12
3 years ago
1.1.11
3 years ago
1.1.10
4 years ago
1.1.9
4 years ago
1.1.8
5 years ago
1.1.7
5 years ago
1.1.6
5 years ago
1.1.5
5 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
7 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.1
10 years ago
1.0.0
10 years ago