<commit_before>// REQUIRED PACKAGES
	var yelpKeys = require("../config.js");
	var yelp = require("yelp-fusion");

		console.log("CLIENT ID: ", yelpKeys.clientId);
		console.log("CLIENT SECRET: ",  yelpKeys.clientSecret);

	// YELP CONNECTION TOKEN
	var token = yelp.accessToken(yelpKeys.clientId, yelpKeys.clientSecret)
	.then(response => {

		console.log(response.jsonBody.access_token);

	})
	// .catch(error => {

	// 	console.log("ERROR CONNETING TO YELP TOKEN: " + error);

	// });// close token var

	console.log("YELP TOKEN: ", token);



// CREATE CLIENT TOKEN
	var client = yelp.client(token);



// GET SEARCH TERMS FROM USER
	client.search({

		term: "Four Barrel Coffee",
		location: "san francisco, ca"

	}).then(response => {

		console.log(response.jsonBody.businesses[0].name);

	}).catch(error => {

		console.log("YELP SEARCH ERROR: ", error);
<commit_msg>adding console log to attempt to determine token missing error<commit_after>// REQUIRED PACKAGES
	var yelpKeys = require("../config.js");
	var yelp = require("yelp-fusion");

		console.log("CLIENT ID: ", yelpKeys.clientId);
		console.log("CLIENT SECRET: ",  yelpKeys.clientSecret);

	// YELP CONNECTION TOKEN
	var token = yelp.accessToken(yelpKeys.clientId, yelpKeys.clientSecret)
	.then(response => {

		console.log(response.jsonBody.access_token);

	})
	.catch(error => {

		console.log("ERROR CONNETING TO YELP TOKEN: " + error);

	});// close token var

	console.log("YELP TOKEN: ", token);



// CREATE CLIENT TOKEN
	var client = yelp.client(token);



// GET SEARCH TERMS FROM USER
	client.search({

		term: "Four Barrel Coffee",
		location: "san francisco, ca"

	}).then(response => {

		console.log(response.jsonBody.businesses[0].name);

	}).catch(error => {

		console.log("YELP SEARCH ERROR: ", error);

{'fraction_non_alphanumeric': 0.15883668903803133, 'fraction_numerical': 0.0011185682326621924, 'mean_word_length': 3.9013698630136986, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2979791', 'n_tokens_mistral': 706, 'n_tokens_neox': 620, 'n_words': 137}