<commit_before>#dota2-api

### About

1. **What is it?**
This is PHP code for processing DotA 2 API-requests.

2. **What can it do?**
It can get match-list for some criteria, get match-info for single match, get steam-profile info for users.
AND save all this data in MySQL database.

3. **What I need to work with it?**
First of all you need web-server with PHP 5.3+ and MySQL 5. Then look at install section.

### Install
<commit_msg>Readme modify<commit_after>#dota2-api

### About

1. **What is it?**

This is PHP code for processing DotA 2 API-requests.

2. **What can it do?**

It can get match-list for some criteria, get match-info for single match, get steam-profile info for users.
AND save all this data in MySQL database.

3. **What I need to work with it?**

First of all you need web-server **with PHP 5.3+** (with **PDO** and **cURL**) and **MySQL 5**. Then look at install section.

### Install

Open file **config.php** and find MySQL connection settings. Write there your 'db-host', 'db-name', 'username', 'password'. 'table-prefix' leave as is.
Connect to your mysql-server with any tool (phpmyadmin, heidisql etc) and execute code in the file **db.sql**.
{'fraction_non_alphanumeric': 0.11754684838160136, 'fraction_numerical': 0.013628620102214651, 'mean_word_length': 3.87551867219917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4949387', 'n_tokens_mistral': 375, 'n_tokens_neox': 355, 'n_words': 183}