// var foursquare = (require('foursquarevenues'))('CLIENTIDKEY', 'CLIENTSECRETKEY');
var foursquare = (require('foursquarevenues'))('Y5D1QX0FS4R5ZTJ5TLU3RDL1U0PUE4ZU3NPTQDS2AGMW1KGP', 'XM2PZ15QKM0I5TQYTCTYXOVBGWKRHCCFZFNNKZYQA1JV1SNZ');

var params = {
    "ll": "40.7,-74"
};

foursquare.getVenues(params, function(error, venues) {
    if (!error) {
	console.log(venues.toString());
    }
});

foursquare.exploreVenues(params, function(error, venues) {
    if (!error) {
  	console.log(venues.toString());
    }
});

@@ -1,25 +1,19 @@
-// var foursquare
+const dotenv
  = 
-(
 requ
@@ -21,63 +21,37 @@
 re('
-foursquarevenues'))('CLIENTIDKEY', 'CLIENTSECRETKEY'
+dotenv');%0A%0Adotenv.config(
 );%0A
+%0A
 var 
@@ -97,110 +97,78 @@
 '))(
-'Y5D1QX0FS4R5ZTJ5TLU3RDL1U0PUE4ZU3NPTQDS2AGMW1KGP', 'XM2PZ15QKM0I5TQYTCTYXOVBGWKRHCCFZFNNKZYQA1JV1SNZ'
+process.env.FOURSQUARE_CLIENT_ID, process.env.FOURSQUARE_CLIENT_SECRET
 );%0A%0A
@@ -295,35 +295,24 @@
 e.log(venues
-.toString()
 );%0A    %7D%0A%7D);
@@ -390,16 +390,16 @@
 rror) %7B%0A
+
   %09conso
@@ -415,19 +415,8 @@
 nues
-.toString()
 );%0A 

Use dotenv for Foursquare credentials.