<commit_before>package kickbox

import (
	"errors"
	"fmt"
	"io/ioutil"
	"net/http"
	"net/url"
	"time"
)

type Client struct {
	apiKey string
	http   http.Client
}

func NewClient(apiKey string) *Client {
	client := Client{
		apiKey: apiKey,
		http:   http.Client{},
	}

	// Set the default timeout to 3 seconds
	client.SetTimeout(time.Second * 3)
	return &client
}

// Configure the request timeout value (includes connecting, waiting for a response, and reading the response)
func (c Client) SetTimeout(time time.Duration) {
	c.http.Timeout = time
}

// Verify the given email address using Kickbox.io
func (c Client) Verify(address string) (*Result, error) {<commit_msg>Nicer initialisation<commit_after>package kickbox

import (
	"errors"
	"fmt"
	"io/ioutil"
	"net/http"
	"net/url"
	"time"
)

// Client holds the HTTP client for interacting with the API, and associated 
// configuration
type Client struct {
	apiKey string
	http   http.Client
}

// NewClient returns an instance of a Client
func NewClient(apiKey string) *Client {
	client := &Client{
		apiKey: apiKey,
		http:   http.Client{},
	}

	// Set the default timeout to 3 seconds
	client.SetTimeout(time.Second * 3)
	return client
}

// Configure the request timeout value (includes connecting, waiting for a response, and reading the response)
func (c Client) SetTimeout(time time.Duration) {
	c.http.Timeout = time
}

// Verify the given email address using Kickbox.io
func (c Client) Verify(address string) (*Result, error) {
{'fraction_non_alphanumeric': 0.10529845741113347, 'fraction_numerical': 0.0026827632461435278, 'mean_word_length': 4.006711409395973, 'pattern_counts': {'":': 0, '<': 3, '<?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': '163537', 'n_tokens_mistral': 492, 'n_tokens_neox': 482, 'n_words': 167}