Foursquare.getVenue()

Get a single venue based on ID

Usage

Hover over inputs/exits for more info.

var Foursquare = require('machinepack-foursquare');


// Get a single venue based on ID

Foursquare.getVenue({

id: '40b28c80f964a5204df81ee3',

client_id: 'XYRA11GEUJ0GQSS4APL0VXCI1GZIHVRBQQIR0XB32GIEDUYT',

client_secret: 'H4JII1UI2AQK5VH4G1CASEN3XWFXM2KTY0OUWVKYZSZERR30',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

id required

The unique id for a Venue

'40b28c80f964a5204df81ee3'
client_id required

Your Foursquare app CLIENT_ID

'XYRA11GEUJ0GQSS4APL0VXCI1GZIHVRBQQIR0XB32GIEDUYT'
client_secret required

Your Foursquare app CLIENT_SECRET

'H4JII1UI2AQK5VH4G1CASEN3XWFXM2KTY0OUWVKYZSZERR30'

Exits

error

An unexpected error occurred.

success

OK.