<commit_before>require 'donors_choose/version'
require 'donors_choose/request'

module DonorsChoose
  extend self
  attr_accessor :api_key

  def projects_near_me(latitude, longitude)
    Request.get(:centerLat => latitude, :centerLong => longitude)
  end

  def projects_by_zip(zipcode)
    Request.get(:keyword => zipcode)
  end
end
<commit_msg>adding default key<commit_after>require 'donors_choose/version'
require 'donors_choose/request'

module DonorsChoose
  extend self

  attr_writer :api_key
  def api_key
    @api_key || "DONORSCHOOSE"
  end

  def projects_near_me(latitude, longitude)
    Request.get(:centerLat => latitude, :centerLong => longitude)
  end

  def projects_by_zip(zipcode)
    Request.get(:keyword => zipcode)
  end
end

{'fraction_non_alphanumeric': 0.08945260347129506, 'fraction_numerical': 0.0, 'mean_word_length': 4.9523809523809526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7207909', 'n_tokens_mistral': 265, 'n_tokens_neox': 244, 'n_words': 55}