<commit_before>class ApsisOnSteroids::MailingList < ApsisOnSteroids::SubBase
  def create_subscribers(data)
    aos.req_json("v1/subscribers/mailinglist/#{data(:id)}/queue", :post, :json => data)
  end
  
  def subscribers
    res = aos.req_json("v1/mailinglists/#{data(:id)}/subscribers/all", :post, :json => {
      "AllDemographics" => true,
      "FieldNames" => []
    })<commit_msg>Disabled AllDemographics due to Apsis exception<commit_after>class ApsisOnSteroids::MailingList < ApsisOnSteroids::SubBase
  def create_subscribers(data)
    aos.req_json("v1/subscribers/mailinglist/#{data(:id)}/queue", :post, :json => data)
  end
  
  def subscribers
    res = aos.req_json("v1/mailinglists/#{data(:id)}/subscribers/all", :post, :json => {
      "AllDemographics" => false,
      "FieldNames" => []
    })
{'fraction_non_alphanumeric': 0.16276202219482122, 'fraction_numerical': 0.004932182490752158, 'mean_word_length': 4.561643835616438, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '1169160', 'n_tokens_mistral': 307, 'n_tokens_neox': 292, 'n_words': 43}