When creating a local room and trying to get infos about it with room-info, there is a an error with the response :
{
“IsReplay”: false,
“IsTestRoom”: false,
“RoomID”: 0,
“Banlist”: {},
“LFListHash”: 516256261,
“ElapsedThreshold”: 910,
“TickMultiplier”: 2,
“EOMPEnabled”: false,
“EOMPTime”: 0,
“HostID”: 2135731491,
“State”: 0,
“IsRanked”: false,
“IsTournament”: false,
“HostName”: “Duelist”,
“HostAvatar”: “”,
“EnemyName”: “”,
“HostRating”: 0.0,
“EnemyRating”: 0.0,
“SpectatorCount”: 1,
“Locked”: [
false,
false
],
“PlayedPlayers”: [
0,
0
],
“DuelCount”: 0,
“Winner”: [
-1,
-1,
-1
],
“PlayerAmount”: 1,
“Info”: {
“Region”: 1,
“MasterRule”: 5,
“Mode”: 0,
“StartHand”: 5,
“DrawCount”: 1,
“Timer”: 4095,
“StartLP”: 8000,
“DuelRule”: 0,
“IsPublic”: true,
“Budget”: 0
},
“CustomBanlistDataPacket”:
}
{
“Region”: 1,
“MasterRule”: 5,
“Mode”: 0,
“StartHand”: 5,
“DrawCount”: 1,
“Timer”: 4095,
“StartLP”: 8000,
“DuelRule”: 0,
“IsPublic”: true,
“Budget”: 0
}
The returned info has 2 dictionnaries instead of 1 (missing a comma between the 2).
In Python, it result in a crash if we I try to load if with requests Response.json() method or with JSON loads function.