You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Returns real-time match data from the Private Room the player is in. To access this data, a `Private-Key` header is required. And, the player must be host or co-host of the Private Room.',
438
+
params: [
439
+
{
440
+
name: '{identifier}',
441
+
type: 'UserIdentifier',
442
+
required: true,
443
+
description: 'Check the `Objects#UserIdentifier` section.'
444
+
},
445
+
{
446
+
name: 'Private-Key',
447
+
type: 'String [Header]',
448
+
required: true,
449
+
description: 'It can be generated in-game via Profile -> Settings -> Generate & Copy API Private Key.'
450
+
}
451
+
],
452
+
structures: [
453
+
{
454
+
name: 'lastId',
455
+
type: 'Integer?',
456
+
description: 'Match ID of previous match. All data will be reset when the match has ended. You can get previous match data with this.'
457
+
},
458
+
{
459
+
name: 'type',
460
+
type: 'MatchType'
461
+
},
462
+
{
463
+
name: 'status',
464
+
type: 'String',
465
+
description: 'It will be one of these value: `idle`, `counting`, `generate`, `ready`, `running`, `done`'
466
+
},
467
+
{
468
+
name: 'time',
469
+
type: 'Time',
470
+
description: 'It will be `0` if match has not started.'
0 commit comments