<commit_before>module Parli
  # API client for UK Parliament's Member Data platform
  # See http://data.parliament.uk/membersdataplatform/
  class ApiClient < HTTPClient
    def self.from_settings
      new(Settings.members_api_url, nil, nil, nil)
    end

    def member_by_name(name)
      q   = URI.escape("name*#{name}")
      uri = URI.parse File.join(@base_url, "/membersdataplatform/services/mnis/members/query/#{q}/")
      issue_request(:get, uri)
    end
  end
end<commit_msg>And more hotfix<commit_after>module Parli
  # API client for UK Parliament's Member Data platform
  # See http://data.parliament.uk/membersdataplatform/
  class ApiClient < HTTPClient
    def self.from_settings
      new(Settings.members_api_url, nil, nil, nil)
    end

    def members_by_name(name)
      q   = URI.escape("name*#{name}")
      uri = URI.parse File.join(@base_url, "/membersdataplatform/services/mnis/members/query/#{q}/")
      issue_request(:get, uri)
    end
  end
end
{'fraction_non_alphanumeric': 0.11487179487179487, 'fraction_numerical': 0.0, 'mean_word_length': 3.4566210045662102, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7185265', 'n_tokens_mistral': 322, 'n_tokens_neox': 315, 'n_words': 71}