A module for retrieving information about Specials from Foursquare.
- Source:
- ../node-foursquare/lib/specials.js, line 1
Methods
-
<static> getSpecial(specialId, venueId, [params], [accessToken], callback)
-
Search for Foursquare specials.
- Source:
- ../node-foursquare/lib/specials.js, line 46
- See:
-
- https://developer.foursquare.com/docs/specials/specials.html
Parameters:
Name Type Argument Description specialId
String The id of the special to retrieve. venueId
String The id of the venue at which the special is running. params
Object <optional>
An object containing additional parameters. Refer to Foursquare documentation for details on currently supported parameters. accessToken
String <optional>
The access token provided by Foursquare for the current user. callback
Function The function to call with results, function({Error} error, {Object} results). -
<static> search(lat, lng, [params], [accessToken], callback)
-
Search for Foursquare specials.
- Source:
- ../node-foursquare/lib/specials.js, line 21
- See:
-
- https://developer.foursquare.com/docs/specials/search.html
Parameters:
Name Type Argument Description lat
String | Number The latitude of the location around which to explore. lng
String | Number The longitude of the location around which to explore. params
Object <optional>
An object containing additional parameters. Refer to Foursquare documentation for details on currently supported parameters. accessToken
String <optional>
The access token provided by Foursquare for the current user. callback
Function The function to call with results, function({Error} error, {Object} results).