<commit_before>var request = require('request-promise');

/**
 * Creats a new foursquare client
 */
function Foursquare(clientID, clientSecret) {
  this.clientID = clientID;
  this.clientSecret = clientSecret;
}

/**
 * Authenticates this instance of Foursquare
 */
Foursquare.prototype.explore = function (lat, lng, price, section) {
  return request({
    method: 'GET',
    json: true,
    uri: 'https://api.foursquare.com/v2/venues/explore',
    qs: {
      ll: lat + ',' + lng,
      client_id: this.clientID,
      client_secret: this.clientSecret,
      v: 20151216,
      price: price,
      section: section
    }
  });
};

module.exports = Foursquare;<commit_msg>Updated latitute/longitude accuracy to 100 meters.<commit_after>var request = require('request-promise');

/**
 * Creats a new foursquare client
 */
function Foursquare(clientID, clientSecret) {
  this.clientID = clientID;
  this.clientSecret = clientSecret;
}

/**
 * Authenticates this instance of Foursquare
 */
Foursquare.prototype.explore = function (lat, lng, price, section) {
  return request({
    method: 'GET',
    json: true,
    uri: 'https://api.foursquare.com/v2/venues/explore',
    qs: {
      ll: lat + ',' + lng,
      llAcc: 100,
      client_id: this.clientID,
      client_secret: this.clientSecret,
      v: 20151216,
      price: price,
      section: section
    }
  });
};

module.exports = Foursquare;
{'fraction_non_alphanumeric': 0.13276231263383298, 'fraction_numerical': 0.017130620985010708, 'mean_word_length': 3.1726190476190474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2100619', 'n_tokens_mistral': 485, 'n_tokens_neox': 462, 'n_words': 106}