- Source:
- ./lib/node-foursquare.js, line 27
Methods
-
<static> getCheckin(checkinId, accessToken, [params], callback)
-
Retrieve a Foursquare Check-in.
- Source:
- ./lib/node-foursquare.js, line 522
- See:
-
- https://developer.foursquare.com/docs/checkins/checkins.html
Parameters:
Name Type Argument Description checkinId
String The id of the check-in. accessToken
String The access token provided by Foursquare for the current user. params
Object <optional>
An object containing additional parameters. Refer to Foursquare documentation for details on currently supported parameters. callback
Function The function to call with results, function({Error} error, {Object} results). -
<static> getRecentCheckins(accessToken, [params], callback)
-
Retreive recent checkins.
- Source:
- ./lib/node-foursquare.js, line 542
- See:
-
- https://developer.foursquare.com/docs/checkins/recent.html
Parameters:
Name Type Argument Description accessToken
String The access token provided by Foursquare for the current user. params
Object <optional>
An object containing additional parameters. Refer to Foursquare documentation for details on currently supported parameters. Properties
Name Type Argument Description lat
String | Number <optional>
The latitude of the location around which to search. lng
String | Number <optional>
The longitude of the location around which to search. callback
Function The function to call with results, function({Error} error, {Object} results).