UNPKG
node-speedrun
Version:
latest (1.2.0)
1.2.0
1.1.1
1.1.1-0
1.1.0
1.0.3
1.0.2
1.0.1
Node.js wrapper for the Speedrun.com API
speedrun.switchblade.xyz
SwitchbladeBot/node-speedrun
node-speedrun
/
examples
/
serie.js
9 lines
(6 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
SpeedrunClient
=
require
(
'../lib/Client.js'
)
const
speedrun =
new
SpeedrunClient
()
// Get serie details
speedrun.
series
.
get
(
'8nwjpj7y'
).
then
(
console
.
log
)
// Get serie games
speedrun.
series
.
getGames
(
'8nwjpj7y'
).
then
(
console
.
log
)