WAaaS
From Worms Knowledge Base
(Up to Software)
WAaaS | |
---|---|
Developer: | Zemke |
Supported games: | W:A |
Language: | Python |
Website: | https://waaas.zemke.io |
Download: | GitHub |
Worms Armageddon as a Service is an HTTP endpoint accepting a *.WAgame
file and returns that file's information as a JSON including a link to download the map as PNG and the raw log file.
Much of the information from an exported replay's log is included.
Example response
JSON
{ "engineVersion" : "3.8", "exportVersion" : "3.8.1", "fileFormatVersion" : "3.7.3.0 - 3.8.1", "gameEnd" : "00:24:09.70", "gameId" : "13879309", "log" : "/log/h4rgloxr", "map" : "/map/6hidy7np", "mapData" : { "cavernBorder" : [ true, false, false, false ], "height" : [ 696 ], "length" : [ 1671014 ], "objectPlacements" : { "coords" : [ [ 123, 164 ], [ 150, 540 ], [ 196, 212 ], [ 204, 370 ], [ 242, 140 ], [ 366, 524 ], [ 393, 300 ], [ 474, 252 ], [ 555, 244 ], [ 582, 526 ], [ 609, 84 ], [ 690, 156 ], [ 713, 252 ], [ 717, 440 ], [ 771, 332 ], [ 836, 548 ], [ 879, 228 ], [ 960, 216 ], [ 1014, 476 ], [ 1095, 535 ], [ 1156, 417 ], [ 1207, 236 ], [ 1276, 316 ], [ 1284, 196 ], [ 1396, 598 ], [ 1504, 148 ], [ 1558, 432 ], [ 1666, 384 ], [ 1720, 164 ] ], "quantity" : [ 29 ] }, "texture" : "Data\\Level\\Fruit", "unknown" : [ 18 ], "waterHeight" : [ 0 ], "width" : [ 1920 ] }, "messages" : [ { "body" : "hf", "timestamp" : "00:00:00.00", "user" : "dt-Mablak" }, { "body" : "hf", "timestamp" : "00:00:02.18", "user" : "TdCxFree" }, { "body" : "hf", "timestamp" : "00:00:03.56", "user" : "PsykologiCWT" }, { "body" : "hm surprised the knock worked", "timestamp" : "00:08:10.34", "user" : "dt-Mablak" }, { "body" : "ws,r,r,", "timestamp" : "00:08:22.08", "user" : "TdCxFree" }, { "body" : "n good turn", "timestamp" : "00:08:24.52", "user" : "PsykologiCWT" }, { "body" : "yea me too but i had cows just incase i figured", "timestamp" : "00:08:33.54", "user" : "TdCxFree" }, { "body" : "xDDD", "timestamp" : "00:14:31.36", "user" : "TdCxFree" }, { "body" : "I gtg gl hf guys", "timestamp" : "00:14:41.84", "user" : "PsykologiCWT" }, { "body" : "gah", "timestamp" : "00:16:22.02", "user" : "TdCxFree" }, { "body" : "bl", "timestamp" : "00:16:22.94", "user" : "dt-Mablak" }, { "body" : "solid hide ", "timestamp" : "00:18:28.98", "user" : "TdCxFree" }, { "body" : "gg", "timestamp" : "00:24:03.68", "user" : "TdCxFree" }, { "body" : "alright gg", "timestamp" : "00:24:09.48", "user" : "dt-Mablak" } ], "mostDamageWithOneShot" : { "damage" : "200", "team" : "SMESH", "worm" : "Kuusi" }, "mostKillsWithOneShot" : { "damage" : "2", "team" : "SMESH", "worm" : "Kuusi" }, "roundTime" : "0:24:09", "spectators" : [ { "host" : false, "user" : "Komito8220" }, { "host" : false, "user" : "PsykologiCWT" } ], "startedAt" : "2022-11-17 20:51:56 GMT", "suddenDeath" : "00:23:39.78", "teamTimeTotals" : [ { "retreat" : "00:00:32.34", "team" : "SMESH", "total" : "00:08:28.38", "turn" : "00:07:56.04", "turnCount" : 12, "user" : "TdCxFree" }, { "retreat" : "00:00:39.32", "team" : "Ro Bad", "total" : "00:09:29.82", "turn" : "00:08:50.50", "turnCount" : 12, "user" : "dt-Mablak" } ], "teams" : [ { "color" : "Red", "localPlayer" : false, "team" : "SMESH", "user" : "TdCxFree" }, { "color" : "Blue", "localPlayer" : true, "team" : "Ro Bad", "user" : "dt-Mablak" } ], "texture" : "Data\\Level\\Fruit", "totalGameTimeElapsed" : "Unknown", "turns" : [ { "damages" : [ { "damage" : 100, "kills" : 1, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 44.82, "timestamp" : "00:00:00.00", "user" : "dt-Mablak", "weapons" : [ "Select Worm", "Ninja Rope", "Dynamite" ] }, { "damages" : [ { "damage" : 100, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.22, "timestamp" : "00:01:11.40", "user" : "TdCxFree", "weapons" : [ "Select Worm", "Ninja Rope", "Parachute", "Battle Axe" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 43.8, "timestamp" : "00:02:10.18", "user" : "dt-Mablak", "weapons" : [ "Parachute", "Girder" ] }, { "damages" : [ { "damage" : 35, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.74, "timestamp" : "00:03:04.08", "user" : "TdCxFree", "weapons" : [ "Low Gravity", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 40, "kills" : 0, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.58, "timestamp" : "00:04:07.32", "user" : "dt-Mablak", "weapons" : [ "Parachute", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 50, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.04, "timestamp" : "00:05:12.38", "user" : "TdCxFree", "weapons" : [ "Ninja Rope", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 50, "kills" : 0, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.7, "timestamp" : "00:06:16.96", "user" : "dt-Mablak", "weapons" : [ "Ninja Rope", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 200, "kills" : 2, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 44.34, "timestamp" : "00:07:21.74", "user" : "TdCxFree", "weapons" : [ "Ninja Rope", "Mine" ] }, { "damages" : [ { "damage" : 146, "kills" : 1, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 43.48, "timestamp" : "00:08:27.22", "user" : "dt-Mablak", "weapons" : [ "Select Worm", "Ninja Rope", "Mad Cow" ] }, { "damages" : [ { "damage" : 50, "kills" : 1, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 43.8, "timestamp" : "00:09:30.02", "user" : "TdCxFree", "weapons" : [ "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 26, "kills" : 1, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 44.86, "timestamp" : "00:10:37.26", "user" : "dt-Mablak", "weapons" : [ "Jet Pack", "Grenade" ] }, { "damages" : [ { "damage" : 12, "kills" : 0, "victim" : "TdCxFree" }, { "damage" : 65, "kills" : 1, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 44.44, "timestamp" : "00:11:40.86", "user" : "TdCxFree", "weapons" : [ "Select Worm", "Ninja Rope", "Dynamite" ] }, { "damages" : [ { "damage" : 57, "kills" : 1, "victim" : "TdCxFree" }, { "damage" : 27, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : true, "retreatSeconds" : 1.3, "timeUsedSeconds" : 43.72, "timestamp" : "00:12:50.64", "user" : "dt-Mablak", "weapons" : [ "Sheep" ] }, { "damages" : [ { "damage" : 14, "kills" : 0, "victim" : "TdCxFree" } ], "lossOfControl" : true, "retreatSeconds" : 1.32, "timeUsedSeconds" : 26.74, "timestamp" : "00:13:53.08", "user" : "TdCxFree", "weapons" : [ "Shotgun", "Shotgun" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 43.36, "timestamp" : "00:14:33.78", "user" : "dt-Mablak", "weapons" : [ "Girder" ] }, { "damages" : [ { "damage" : 58, "kills" : 0, "victim" : "TdCxFree" }, { "damage" : 33, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : true, "retreatSeconds" : 3, "timeUsedSeconds" : 43.68, "timestamp" : "00:15:26.58", "user" : "TdCxFree", "weapons" : [ "Select Worm", "Ninja Rope", "Parachute", "Sheep" ] }, { "damages" : [ { "damage" : 42, "kills" : 1, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 44.78, "timestamp" : "00:16:24.74", "user" : "dt-Mablak", "weapons" : [ "Ninja Rope", "Grenade" ] }, { "damages" : [ { "damage" : 39, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.64, "timestamp" : "00:17:27.88", "user" : "TdCxFree", "weapons" : [ "Jet Pack", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 134, "kills" : 1, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 43.64, "timestamp" : "00:18:32.40", "user" : "dt-Mablak", "weapons" : [ "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 27, "kills" : 1, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 39.06, "timestamp" : "00:19:43.70", "user" : "TdCxFree", "weapons" : [ "Shotgun", "Shotgun" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 0.02, "timeUsedSeconds" : 44.7, "timestamp" : "00:20:46.26", "user" : "dt-Mablak", "weapons" : [ "Teleport" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 0.02, "timeUsedSeconds" : 41.44, "timestamp" : "00:21:40.46", "user" : "TdCxFree", "weapons" : [ "Teleport" ] }, { "damages" : [ { "damage" : 40, "kills" : 1, "victim" : "TdCxFree" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.06, "timestamp" : "00:22:31.40", "user" : "dt-Mablak", "weapons" : [ "Select Worm", "Shotgun", "Shotgun" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 0, "timeUsedSeconds" : 14.9, "timestamp" : "00:23:43.74", "user" : "TdCxFree", "weapons" : [ "Surrender" ] } ], "winsTheMatch" : "Ro Bad", "wormOfTheRound" : { "team" : "SMESH", "worm" : "Kuusi" }, "wormPlacementCompleted" : null, "wormPlacements" : [] }