<commit_before>require 'open-uri'
require 'json'
require_relative "models/restaurant"

module ApiGetter

  def self.get_api(description)
    JSON.parse(open("https://data.cityofnewyork.us/resource/kpav-sd4t.json?$q=#{description}&$order=salary_range_from%20DESC&$limit=10").read)
  end

end<commit_msg>fixed require<commit_after>require 'open-uri'
require 'json'
require_relative "models/job"

module ApiGetter

  def self.get_api(description)
    JSON.parse(open("https://data.cityofnewyork.us/resource/kpav-sd4t.json?$q=#{description}&$order=salary_range_from%20DESC&$limit=10").read)
  end

end
{'fraction_non_alphanumeric': 0.1474036850921273, 'fraction_numerical': 0.01675041876046901, 'mean_word_length': 7.081081081081081, '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': '172924', 'n_tokens_mistral': 226, 'n_tokens_neox': 218, 'n_words': 26}