<commit_before>Library for accessing mBank PL transaction service
--------------------------------------------------

Suitable for checking for new transactions. Implemented methods:

* login
* list accounts
* list operations (last ~14 days)
* logout

Requirements
------------

* PHP 5.3 or higher
* [cURL](http://www.php.net/manual/book.curl.php) extension

Installation
------------

Install library from composer:

```json
{
    "require": {
        "bgaluszka/mbank": "dev-master"
    }
}
```

Example usage
-------------

```php
<?php
// load the autoload.php from composer
require 'vendor/autoload.php';

$mbank = new \bgaluszka\Mbank\Mbank();
$mbank->login('id', 'password');
$mbank->profile('individual');

foreach ($mbank->accounts() as $account) {
    echo "{$account['name']} {$account['value']} {$account['currency']}\n";

    foreach ($mbank->operations($account['iban']) as $operation) {
        echo "{$operation['description']} {$operation['value']} {$account['currency']}\n";
    }
}

$mbank->logout();
```
<commit_msg>Updated README.md to contain information about profiles<commit_after>Library for accessing mBank PL transaction service
--------------------------------------------------

Suitable for checking for new transactions. Implemented methods:

* login
* list accounts
* list operations (last ~14 days)
* logout

Requirements
------------

* PHP 5.3 or higher
* [cURL](http://www.php.net/manual/book.curl.php) extension

Installation
------------

Install library from composer:

```json
{
    "require": {
        "bgaluszka/mbank": "dev-master"
    }
}
```

Example usage
-------------

```php
<?php
// load the autoload.php from composer
require 'vendor/autoload.php';

$mbank = new \bgaluszka\Mbank\Mbank();
$mbank->login('id', 'password');

foreach (array('individual', 'business') as $profile) {
    $mbank->profile($profile);

    foreach ($mbank->accounts() as $account) {
        echo "{$account['name']} {$account['value']} {$account['currency']}\n";

        foreach ($mbank->operations($account['iban']) as $operation) {
            echo "{$operation['description']} {$operation['value']} {$account['currency']}\n";
        }
    }
}

$mbank->logout();
```

{'fraction_non_alphanumeric': 0.2419281491587085, 'fraction_numerical': 0.0036380172805820826, 'mean_word_length': 2.9145907473309607, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 13, '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': '7161181', 'n_tokens_mistral': 685, 'n_tokens_neox': 659, 'n_words': 159}