Skip to content

Commit

Permalink
Updated getMatchesStats info (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarfat authored Jan 17, 2021
1 parent f252865 commit 6066129
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,13 @@ HLTV.getMatches().then((res) => {

Parses all matches from the `hltv.org/stats/matches` page (1 request per page of results)

| Option | Type | Default Value | Description |
| :-------: | :-------------------------------------------------------------------------------: | :-----------: | :---------: |
| startDate | string? | - | - |
| endDate | string? | - | - |
| matchType | [MatchType](https://github.com/gigobyte/HLTV/blob/master/src/enums/MatchType.ts)? | - | - |
| maps | [Map](https://github.com/gigobyte/HLTV/blob/master/src/enums/Map.ts)[]? | - | - |
| Option | Type | Default Value | Description |
| :-------: | :-------------------------------------------------------------------------------: | :-----------: | :-----------------: |
| startDate | string? | - | - |
| endDate | string? | - | - |
| matchType | [MatchType](https://github.com/gigobyte/HLTV/blob/master/src/enums/MatchType.ts)? | - | - |
| maps | [Map](https://github.com/gigobyte/HLTV/blob/master/src/enums/Map.ts)[]? | - | - |
| rankingFilter | string? | - | eg. "Top10" |

```javascript
HLTV.getMatchesStats({startDate: '2017-07-10', endDate: '2017-07-18'}).then((res) => {
Expand Down

0 comments on commit 6066129

Please sign in to comment.