<commit_before># Dota 2 Web API

I will post some information soon.

## TODO

- `match = Dotka.match(id)`:
	- `match.id` returns an `integer`.
	- `match.players` returns an `array` of `DotkaM::Player` instances.
	- `match.winner` returns either `radiant` or `dire` (`string`).
	- `match.duration` returns the match duration in seconds (`integer`).
	- `match.start_time` returns the start time in seconds (`integer`, UTC).
	- `match.lobby` returns an instance of `DotkaM::Lobby`.
	- `match.game_mode` returns an instance of `DotkaM::GameMode`.
	- `match.region` returns an instance of `DotkaM::Region`.
	- *Where `match` is an instance of `DotkaM::Match`.*

- `Dotka.matches(conditions)` where `conditions` is an `array` with these keys:
	- `player_name` as a `string`.
	- `hero_id` as an `integer`.
	- `skill_type` as an `integer`: (0, 1, 2) => (Normal, High, Very High).
	- `min_date` as an `integer` (UTC).
	- `max_date` as an `integer` (UTC).
	- `account_id` as an `integer` (for example, `70388657`).
	- `start_at_match_id` as an `integer`.
	- `amount_of_matches` as an `integer`.
	- *This method will return an `array` of `DotkaM::Match` instances.*

- `player = Dotka.player(id)`:
	- `player.account_id` returns an `integer`.
	- `player.hero` returns an instance of `DotkaM::Hero`.
	- `player.items` returns an `array` of `DotkaM::Item` instances.
	- `player.kills` returns an `integer`.
	- `player.deaths` returns an `integer`.
	- `player.assists` returns an `integer`.
	- `player.abandoned?` returns a `boolean`.
	- `player.team` returns either `dire` or `radiant`.
	- `player.gold` returns an `integer`.
	- `player.last_hits` returns an `integer`.
	- `player.denies` returns an `integer`.
	- `player.gold_per_min` returns an `integer`.
	- `player.xp_per_min` returns an `integer`.
	- `player.hero_dmg` returns an `integer`.
	- `player.tower_dmg` returns an `integer`.
	- `player.hero_heal` returns an `integer`.
	- `player.level` returns an `integer`.<commit_msg>Update the readme: skill levels were specified incorrectly.<commit_after># Dota 2 Web API

I will post some information soon.

## TODO

- `match = Dotka.match(id)`:
	- `match.id` returns an `integer`.
	- `match.players` returns an `array` of `DotkaM::Player` instances.
	- `match.winner` returns either `radiant` or `dire` (`string`).
	- `match.duration` returns the match duration in seconds (`integer`).
	- `match.start_time` returns the start time in seconds (`integer`, UTC).
	- `match.lobby` returns an instance of `DotkaM::Lobby`.
	- `match.game_mode` returns an instance of `DotkaM::GameMode`.
	- `match.region` returns an instance of `DotkaM::Region`.
	- *This method will return an instance of `DotkaM::Match`.*

- `matches = Dotka.matches(conditions)` where `conditions` is an `array` with these keys:
	- `player_name` as a `string`.
	- `hero_id` as an `integer`.
	- `skill_type` as an `integer`: (0, 1, 2, 3) => (Any, Normal, High, Very High).
	- `min_date` as an `integer` (UTC).
	- `max_date` as an `integer` (UTC).
	- `account_id` as an `integer` (for example, `70388657`).
	- `start_at_match_id` as an `integer`.
	- `amount_of_matches` as an `integer`.
	- *This method will return an `array` of `DotkaM::Match` instances.*

- `player = Dotka.player(id)`:
	- `player.account_id` returns an `integer`.
	- `player.hero` returns an instance of `DotkaM::Hero`.
	- `player.items` returns an `array` of `DotkaM::Item` instances.
	- `player.kills` returns an `integer`.
	- `player.deaths` returns an `integer`.
	- `player.assists` returns an `integer`.
	- `player.abandoned?` returns a `boolean`.
	- `player.team` returns either `dire` or `radiant`.
	- `player.gold` returns an `integer`.
	- `player.last_hits` returns an `integer`.
	- `player.denies` returns an `integer`.
	- `player.gold_per_min` returns an `integer`.
	- `player.xp_per_min` returns an `integer`.
	- `player.hero_dmg` returns an `integer`.
	- `player.tower_dmg` returns an `integer`.
	- `player.hero_heal` returns an `integer`.
	- `player.level` returns an `integer`.
{'fraction_non_alphanumeric': 0.16363636363636364, 'fraction_numerical': 0.0062266500622665, 'mean_word_length': 3.9826302729528535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '995828', 'n_tokens_mistral': 1448, 'n_tokens_neox': 1416, 'n_words': 436}