A module for retrieving information about Settings from Foursquare.
- Source:
- ../node-foursquare/lib/settings.js, line 1
Methods
-
<static> getSetting(name, accessToken, callback)
-
Retreive a specific Foursquare setting for the current user.
- Source:
- ../node-foursquare/lib/settings.js, line 30
- See:
-
- https://developer.foursquare.com/docs/settings/all.html
Parameters:
Name Type Description name
String The name of the setting to retrieve 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> getSettings(accessToken, callback)
-
Retreive Foursquare settings for the current user.
- Source:
- ../node-foursquare/lib/settings.js, line 17
- See:
-
- https://developer.foursquare.com/docs/settings/all.html
Parameters:
Name Type Description 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).