Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-foursquare-api
This node needs to be configured with the params below :
This param is the endpoint to call on the foursquare API, can be written in express style. Example :
In the case you choose to put params inside your resource string, when the node is called you need to pass an Object on the payload with the value for each param. Example :
In the case you need to pass arguments to the Foursquare API, you can pass them with msg.foursquareArgs. Example :
Simply choose today's date, the format of the data passed by foursquare will be fixed as the format used in the date that you put in this param.
Here goes the credentials of your Application, in the case the same node uses multiple credentials, you can pass them in msg.creds. Example :
For the moment these addon support only the GET request, in the future a param will be added to choose between "GET" and "POST"