Skip to content

Commit fffe487

Browse files
committed
Updated readme
1 parent ee2a902 commit fffe487

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,23 @@ When instantiating your node-globaloffensive instance, you need to pass your act
9494
var csgo = new GlobalOffensive(steamClient);
9595
```
9696

97+
### requestGame(shareCodeOrDetails)
98+
- `shareCodeOrDetails` - Either a share code as a string, or an object containing properties `matchId`, `outcomeId`, `token`
99+
100+
**v2.2.0 or later is required to use this method**
101+
102+
Requests stats for a historical game. Listen for the `matchList` event to get your response.
103+
97104
### requestLiveGames()
98105

99-
Request a list of current live tournament games. This is the list you see in the client under Watch -> Live. Listen for the `matchList` event to get your response.
106+
Request a list of current live tournament games.
107+
This is the list you see in the client under Watch -> Live.
108+
Listen for the `matchList` event to get your response.
100109

101110
### requestRecentGames(steamid)
102111

103-
Request a list of recent games (max. 8). This is the list you see in the client under Watch -> Your Matches. Listen for the `matchList` event to get your response.
112+
Request a list of recent games (max. 8). This is the list you see in the client under Watch -> Your Matches.
113+
Listen for the `matchList` event to get your response.
104114

105115
### requestLiveGameForUser(steamid)
106116

0 commit comments

Comments
 (0)