Skip to content

Commit

Permalink
Fix playground
Browse files Browse the repository at this point in the history
  • Loading branch information
gigobyte committed May 30, 2019
1 parent 44631d4 commit 8ab5ee6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/playground.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import HLTV from './index'
// import HLTV from './index'
// HLTV.getMatch({ id: 2332676 })
// .then(res => console.dir(res, { depth: null }))
// .catch(err => console.log(err))
Expand Down Expand Up @@ -28,7 +28,4 @@ import HLTV from './index'
// HLTV.getTeamStats({id: 6669}).then(res => console.dir(res, { depth: null })).catch(err => console.log(err))
// HLTV.getPlayer({id: 9216}).then(res => console.dir(res, { depth: null })).catch(err => console.log(err))
// HLTV.getEvent({id: 3773}).then(res => console.dir(res, { depth: null })).catch(err => console.log(err))


HLTV.getResults({pages: 1, eventId: 3883}).then(res => console.log(res))
HLTV.getResults({pages: 1, eventId: 3047}).then(res => console.log(3047 + ':' + res.length))
// HLTV.getResults({pages: 1, eventId: 3883}).then(res => console.log(res))

0 comments on commit 8ab5ee6

Please sign in to comment.