Namespace: Venues

Foursquare ยป Venues

Source:
./lib/node-foursquare.js, line 27

Methods

<static> getHereNow(venueId, accessToken, [params], callback)

Retrieve Check-ins for Users who are at a Venue "now".

Source:
./lib/node-foursquare.js, line 454
See:
  • https://developer.foursquare.com/docs/venues/herenow.html
Parameters:
Name Type Argument Description
venueId String The id of a Foursquare Venue.
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).

Retrieve Links for a Foursquare Venue.

Source:
./lib/node-foursquare.js, line 506
See:
  • https://developer.foursquare.com/docs/venues/links.html
Parameters:
Name Type Argument Description
venueId String The id of a Foursquare Venue.
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> getPhotos(venueId, [group], accessToken, [params], callback)

Retrieve Photos for a Foursquare Venue.

Source:
./lib/node-foursquare.js, line 486
See:
  • https://developer.foursquare.com/docs/venues/photos.html
Parameters:
Name Type Argument Default Description
venueId String The id of a Foursquare Venue.
group String <optional>
"checkin" The type of photos to retrieve. Refer to Foursquare documentation for details on currently supported groups.
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> getTips(venueId, accessToken, [params], callback)

Retrieve Tips for a Foursquare Venue.

Source:
./lib/node-foursquare.js, line 470
See:
  • https://developer.foursquare.com/docs/venues/tips.html
Parameters:
Name Type Argument Description
venueId String The id of a Foursquare Venue.
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> getVenue(venueId, [accessToken], callback)

Retrieve a Foursquare Venue.

Source:
./lib/node-foursquare.js, line 410
See:
  • https://developer.foursquare.com/docs/venues/venues.html
Parameters:
Name Type Argument Description
venueId String The id of a Foursquare Venue.
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> getVenueAspect(venueId, aspect, [accessToken], [params], callback)

Source:
./lib/node-foursquare.js, line 428
See:
  • https://developer.foursquare.com/docs/index_docs.html
Parameters:
Name Type Argument Description
venueId String The id of a Foursquare Venue.
aspect String The aspect to retrieve. Refer to Foursquare documentation for details on currently supported aspects.
accessToken String <optional>
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).

Search Foursquare Venues.

Source:
./lib/node-foursquare.js, line 393
See:
  • https://developer.foursquare.com/docs/venues/search.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).