Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gigobyte authored Nov 17, 2016
1 parent e2878b7 commit c334230
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [getMatches](#getmatches)
- [getLatestResults](#getlatestresults)
- [getStreams](#getstreams)
- [getActiveThreads](#getactivethreads)

## Installation

Expand Down Expand Up @@ -155,3 +156,27 @@ realLink | string | Only if the `loadLinks` flag is enabled
viewers | int

***

#### getActiveThreads

Parses the latest threads on the front page of HLTV

Option | Type | Default Value | Description |
:---:|:---:|:---:|:---:|
- | - | - | - |

```javascript
hltv.getActiveThreads().then((res) => {
...
})
```

Results in an array of objects with the following schema:

Property | Type | Note
---|---|---|
title | string
link | string
replies | int

***

0 comments on commit c334230

Please sign in to comment.