<commit_before>LinkedIn API with caching
========
This library implements ability of caching all requests to LinkedIn API.

## Installation ##
1. Add to you composer.json file the line:
```json
"redcode/linkedin-api": "*",
```
2. Update composer with command:
```shell
composer update redcode/linkedin-api
```

## Usage ##

```php
// lifeTime of cache in seconds
$lifeTimeInSeconds  = 60 * 60;

// any writable dir
$cacheDir           = '',

$api = new RedCode\LinkedIn\LinkedIn([
       'api_key'       => '',
       'api_secret'    => '',
       'callback_url'  => ''
    ],
    new Cache\FilesystemCache($cacheDir),
    $lifeTimeInSeconds<commit_msg>fixed readme list<commit_after>LinkedIn API with caching
========
This library implements ability of caching all requests to LinkedIn API.

## Installation ##
- Add to you composer.json file the line:
```json
"redcode/linkedin-api": "*",
```
- Update composer with command:
```shell
composer update redcode/linkedin-api
```

## Usage ##

```php
// lifeTime of cache in seconds
$lifeTimeInSeconds  = 60 * 60;

// any writable dir
$cacheDir           = '',

$api = new RedCode\LinkedIn\LinkedIn([
       'api_key'       => '',
       'api_secret'    => '',
       'callback_url'  => ''
    ],
    new Cache\FilesystemCache($cacheDir),
    $lifeTimeInSeconds
{'fraction_non_alphanumeric': 0.14984709480122324, 'fraction_numerical': 0.00764525993883792, 'mean_word_length': 3.236245954692557, 'pattern_counts': {'":': 2, '<': 3, '<?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': '3120348', 'n_tokens_mistral': 424, 'n_tokens_neox': 397, 'n_words': 115}