<commit_before>## MemberClicks API client for PHP

[![Build Status](https://semaphoreci.com/api/v1/brad/memberclicks-php/branches/master/shields_badge.svg)](https://semaphoreci.com/brad/memberclicks-php)
[![codecov](https://codecov.io/gh/bradberger/memberclicks-php/branch/master/graph/badge.svg)](https://codecov.io/gh/bradberger/memberclicks-php)

Work in progress, don't use it quite yet.

### Example usage


#### Initialize the client and get an auth token.

```php
require_once __DIR__ . '/vendor/autoload.php';

use \BitolaCo\MemberClicks\MemberClicks;
use \BitolaCo\MemberClicks\User;
use \BitolaCo\MemberClicks\Event;

$apiKey = '2406471784';
$username = 'demouser';
$password = '<PASSWORD>';
<commit_msg>Adds composer install instructions<commit_after>## MemberClicks API client for PHP

[![Build Status](https://semaphoreci.com/api/v1/brad/memberclicks-php/branches/master/shields_badge.svg)](https://semaphoreci.com/brad/memberclicks-php)
[![codecov](https://codecov.io/gh/bradberger/memberclicks-php/branch/master/graph/badge.svg)](https://codecov.io/gh/bradberger/memberclicks-php)

Work in progress, don't use it quite yet.

### Installation

Install via composer

```
composer require bitolaco/memberclicks
```

Or add to your `composer.json` file:
```json
{
    "require": {
        "bitolaco/memberclicks": "*"
    }
}
```

### Example usage


#### Initialize the client and get an auth token.

```php
require_once __DIR__ . '/vendor/autoload.php';

use \BitolaCo\MemberClicks\MemberClicks;
use \BitolaCo\MemberClicks\User;
use \BitolaCo\MemberClicks\Event;

$apiKey = '2406471784';
$username = 'demouser';
$password = '<PASSWORD>';

{'fraction_non_alphanumeric': 0.15869170199878863, 'fraction_numerical': 0.013325257419745608, 'mean_word_length': 5.118518518518519, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '4242368', 'n_tokens_mistral': 628, 'n_tokens_neox': 599, 'n_words': 105}