DoctorMcKay/node-globaloffensive

requestRecentGames

LegendNed opened this issue · 0 comments

Is it possible to request recent games of other players than yourself? If so how?

Code used to test:

this.csgo.requestRecentGames(accountID)
let recentGames = await new Promise(resolve => {
    this.csgo
        .on('matchList', (matches, data) => {
            if (data.accountid !== accountID.accountid) return
            return resolve(matches)
        })
})