Module: node-foursquare/Checkins

node-foursquare/Checkins

A module for retrieving information about Checkins from Foursquare.

Source:
../node-foursquare/lib/checkins.js, line 1

Methods

<static> getCheckin(checkinId, [params], accessToken, callback)

Retrieve a Foursquare Check-in.

Source:
../node-foursquare/lib/checkins.js, line 21
See:
  • https://developer.foursquare.com/docs/checkins/checkins.html
Parameters:
Name Type Argument Description
checkinId String The id of the check-in.
params Object <optional>
An object containing additional parameters. Refer to Foursquare documentation for details on currently supported parameters.
accessToken String The access token provided by Foursquare for the current user.
callback Function The function to call with results, function({Error} error, {Object} results).

<static> getRecentCheckins([params], accessToken, callback)

Retreive recent checkins.

Source:
../node-foursquare/lib/checkins.js, line 44
See:
  • https://developer.foursquare.com/docs/checkins/recent.html
Parameters:
Name Type Argument Description
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.
accessToken String The access token provided by Foursquare for the current user.
callback Function The function to call with results, function({Error} error, {Object} results).