File tree Expand file tree Collapse file tree 3 files changed +61
-18
lines changed Expand file tree Collapse file tree 3 files changed +61
-18
lines changed Original file line number Diff line number Diff line change
1
+ # recentGames
2
+
3
+ ## Description
4
+
5
+ Returns recent games of a player. A maximum of 100 games are returned and recent games are only stored for up to 3 days at this time.
6
+
7
+ Players can disable this endpoint via in-game settings. When done so the API will return as if there is no games.
8
+
9
+ ## Parameters
10
+ - key
11
+ - uuid
12
+
13
+ ## Example Response
14
+ ``` php
15
+ {
16
+ "games": [
17
+ {
18
+ "date": 1583837333968,
19
+ "gameType": "BEDWARS",
20
+ "mode": "FOUR_FOUR"
21
+ },
22
+ {
23
+ "date": 1583835955288,
24
+ "gameType": "BEDWARS",
25
+ "mode": "FOUR_FOUR"
26
+ },
27
+ {
28
+ "date": 1583832051787,
29
+ "gameType": "DUELS",
30
+ "mode": "SW_DUEL"
31
+ },
32
+ {
33
+ "date": 1583831476897,
34
+ "gameType": "SKYWARS",
35
+ "mode": "solo_insane"
36
+ }
37
+ ]
38
+ }
39
+ ```
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # status
2
+
3
+ ## Description
4
+
5
+ Returns online status information for given player, including game, mode and map when available.
6
+
7
+ Players can disable this endpoint via in-game settings. When done so the API will return as if the player is offline.
8
+
9
+ ## Parameters
10
+ - key
11
+ - uuid
12
+
13
+ ## Example Response
14
+ ``` php
15
+ {
16
+ "session": {
17
+ "online": true,
18
+ "gameType": "SKYBLOCK",
19
+ "mode": "dynamic"
20
+ }
21
+ }
22
+ ```
You can’t perform that action at this time.
0 commit comments