<commit_before>leadspend
=========

Ruby library for communicating with the Leadspend service<commit_msg>initial README<commit_after>leadspend
=========

Ruby library for communicating with the Leadspend service


Use like so:

  client = Leadspend::Client.new(LEADSPEND_USERNAME, LEADSPEND_PASSWORD, :ca_file => CA_FILE, :timeout => 5)
  is_valid_email = client.validate(params[:email) # true if verified or unknown, false otherwise

If you want more information about the response, use something like

  leadspend_result = client.fetch_result(params[:email])

This will return a Leadspend::Result object representing the JSON response,
with convenience methods like unreachable? and illegitimate?.


Written by <NAME> for PodOmatic, www.podomatic.com, <EMAIL>.

Project homepage: http://www.github.com/justindossey/leadspend

{'fraction_non_alphanumeric': 0.09552599758162031, 'fraction_numerical': 0.0012091898428053204, 'mean_word_length': 6.137931034482759, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6659357', 'n_tokens_mistral': 254, 'n_tokens_neox': 232, 'n_words': 77}