<commit_before>KOBAS API Client
=============

Signs API requests and allows interaction via cURL methods.

## Example

```php
/**
 * Setup
 */
$companyId  = 0; // Company ID
$identifier = 'sid:?/imid:?'; // Identifier
$secret     = '...'; // API Key

$signer = (new \Kobas\Auth\Signer($companyId, $identifier, $secret));
$client = (new \Kobas\Client($signer));

/**
 * Usage
 */
$request = $client->get('customer/search', ['email' => '<EMAIL>']);
```

## Client Functions

## get($route, $params = array(), $headers = array())
cURL Get Request

## post($route, $params = array(), $headers = array())
cURL Post Request

## put($route, $params = array(), $headers = array())
cURL Put Request

## delete($route, $params = array(), $headers = array())
cURL Delete Request

## setAPIBaseURL($url)
Allows over-riding the base URL (only really needed for development)

## setAPIVersion($version)
Allows over-riding of the API version. Might be useful in future?

## disableSSLVerification()
Disables SSL Verify Peer. Needed for development, should never be used in production
<commit_msg>Clarifying SID vs IMID<commit_after>KOBAS API Client
=============

Signs API requests and allows interaction via cURL methods.

## Example

```php
/**
 * Setup
 */
$companyId  = 0; // Company ID
$identifier = 'sid:?/imid:?'; // Identifier either sid: (staff id) or imid: (integration member id) followed by the id provided.
$secret     = '...'; // API Key

$signer = (new \Kobas\Auth\Signer($companyId, $identifier, $secret));
$client = (new \Kobas\Client($signer));

/**
 * Usage
 */
$request = $client->get('customer/search', ['email' => '<EMAIL>']);
```

## Client Functions

## get($route, $params = array(), $headers = array())
cURL Get Request

## post($route, $params = array(), $headers = array())
cURL Post Request

## put($route, $params = array(), $headers = array())
cURL Put Request

## delete($route, $params = array(), $headers = array())
cURL Delete Request

## setAPIBaseURL($url)
Allows over-riding the base URL (only really needed for development)

## setAPIVersion($version)
Allows over-riding of the API version. Might be useful in future?

## disableSSLVerification()
Disables SSL Verify Peer. Needed for development, should never be used in production

{'fraction_non_alphanumeric': 0.1758193091231178, 'fraction_numerical': 0.0008857395925597874, 'mean_word_length': 4.5777777777777775, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3450128', 'n_tokens_mistral': 709, 'n_tokens_neox': 699, 'n_words': 235}