<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Xml.Linq;

namespace SocketLabs.OnDemand.Api
{
	internal class Program
	{
		private static void Main(string[] args)
		{
			int accountId = 1000; // YOUR-ACCOUNT-ID
			string userName = "YOUR-USER-NAME";
			string password = "<PASSWORD>";

			var apiUri = new Uri("https://api.email-od.com/messagesProcessed?type=xml&accountId=" + accountId);
			var creds = new NetworkCredential(userName, password);
			var auth = creds.GetCredential(apiUri, "Basic");

			WebRequest request = WebRequest.Create(apiUri);
			request.Credentials = auth;

			using (WebResponse response = request.GetResponse())
			using (StreamReader reader = new StreamReader(response.GetResponseStream()))
			{
				XDocument apiResponse = XDocument.Load(reader);

				var addressResponses =
					from item in apiResponse.Descendants("collection").Descendants("item")
					select new {
						ToAddress = item.Element("ToAddress").Value,
						Response = item.Element("Response").Value
					};

				foreach (var item in addressResponses)
				{
					Console.WriteLine(String.Format("**** (( {0} )) ****", item.ToAddress));<commit_msg>Change of domain name to api.socketlabs.com<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Xml.Linq;

namespace SocketLabs.OnDemand.Api
{
	internal class Program
	{
		private static void Main(string[] args)
		{
			int accountId = 1000; // YOUR-ACCOUNT-ID
			string userName = "YOUR-USER-NAME";
			string password = "<PASSWORD>";

			var apiUri = new Uri("https://api.socketlabs.com/messagesProcessed?type=xml&accountId=" + accountId);
			var creds = new NetworkCredential(userName, password);
			var auth = creds.GetCredential(apiUri, "Basic");

			WebRequest request = WebRequest.Create(apiUri);
			request.Credentials = auth;

			using (WebResponse response = request.GetResponse())
			using (StreamReader reader = new StreamReader(response.GetResponseStream()))
			{
				XDocument apiResponse = XDocument.Load(reader);

				var addressResponses =
					from item in apiResponse.Descendants("collection").Descendants("item")
					select new {
						ToAddress = item.Element("ToAddress").Value,
						Response = item.Element("Response").Value
					};

				foreach (var item in addressResponses)
				{
					Console.WriteLine(String.Format("**** (( {0} )) ****", item.ToAddress));
{'fraction_non_alphanumeric': 0.12866191607284244, 'fraction_numerical': 0.00395882818685669, 'mean_word_length': 4.188911704312115, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7236620', 'n_tokens_mistral': 888, 'n_tokens_neox': 741, 'n_words': 174}