<commit_before>ВКонтакте SDK
=============
[![Latest Stable Version](https://poser.pugx.org/SocialConnect/vk-sdk/v/stable.svg)](https://packagist.org/packages/SocialConnect/vk-sdk)
[![Build Status](https://travis-ci.org/SocialConnect/vk-sdk.svg?branch=master)](https://travis-ci.org/SocialConnect/vk-sdk)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/SocialConnect/vk-sdk/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/SocialConnect/vk-sdk/?branch=master)
[![Coverage Status](https://img.shields.io/coveralls/SocialConnect/vk-sdk.svg)](https://coveralls.io/r/SocialConnect/vk-sdk?branch=master)
[![License](https://poser.pugx.org/SocialConnect/vk-sdk/license.svg)](https://packagist.org/packages/SocialConnect/vk-sdk)

Library for work with VK API.

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

Add requirement to your `composer.json`:

```json
{
    "require": {
        "socialconnect/vk-sdk": "~0.2"
    }
}
```

Run the composer installer:

```bash
php composer.phar install
```

How to use
----------

First you need to create service:

```
$appId = 123456; // Your Vk application id
$appSecret = 'secret'; // Your Vk application secret

$vkService = new \SocialConnect\Vk\Client($appId, $appSecret);
```

<commit_msg>README How To Use fixes<commit_after>ВКонтакте SDK
=============
[![Latest Stable Version](https://poser.pugx.org/SocialConnect/vk-sdk/v/stable.svg)](https://packagist.org/packages/SocialConnect/vk-sdk)
[![Build Status](https://travis-ci.org/SocialConnect/vk-sdk.svg?branch=master)](https://travis-ci.org/SocialConnect/vk-sdk)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/SocialConnect/vk-sdk/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/SocialConnect/vk-sdk/?branch=master)
[![Coverage Status](https://img.shields.io/coveralls/SocialConnect/vk-sdk.svg)](https://coveralls.io/r/SocialConnect/vk-sdk?branch=master)
[![License](https://poser.pugx.org/SocialConnect/vk-sdk/license.svg)](https://packagist.org/packages/SocialConnect/vk-sdk)

Library for work with VK API.

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

Add requirement to your `composer.json`:

```json
{
    "require": {
        "socialconnect/vk-sdk": "~0.2"
    }
}
```

Run the composer installer:

```bash
php composer.phar install
```

How to use
----------

First you need to create service:

```php
// Your Vk Application Settings
$appId = 123456;
$appSecret = 'secret';

$vkService = new \SocialConnect\Vk\Client($appId, $appSecret);
$vkService->setHttpClient(new \SocialConnect\Common\Http\Client\Curl());
```


{'fraction_non_alphanumeric': 0.20260663507109006, 'fraction_numerical': 0.00631911532385466, 'mean_word_length': 4.5548245614035086, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 20, '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': '2030115', 'n_tokens_mistral': 974, 'n_tokens_neox': 877, 'n_words': 127}