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:23:28.30", "gameId" : "13167522", "log" : "/log/7yqvfq1p", "map" : "/map/ldffu7qf", "messages" : [ { "body" : "hf", "timestamp" : "00:00:00.00", "user" : "Albus" }, { "body" : "hf", "timestamp" : "00:00:01.22", "user" : "dt-Mablak" }, { "body" : "Hf", "timestamp" : "00:00:01.64", "user" : "Komito`db" }, { "body" : "gl hf legends", "timestamp" : "00:00:06.08", "user" : "TdCxStJimmy" }, { "body" : "hf", "timestamp" : "00:01:05.16", "user" : "Monster`tita" }, { "body" : "gulp", "timestamp" : "00:08:34.72", "user" : "dt-Mablak" }, { "body" : "if you had fallen the other way!", "timestamp" : "00:08:45.48", "user" : "Chicken23CKC" }, { "body" : "that was so 50/50 :D", "timestamp" : "00:08:50.26", "user" : "Chicken23CKC" }, { "body" : "nice vision and nice try", "timestamp" : "00:09:38.60", "user" : "Chicken23CKC" }, { "body" : "good escape", "timestamp" : "00:15:10.36", "user" : "dt-Mablak" }, { "body" : "gg", "timestamp" : "00:23:16.18", "user" : "dt-Mablak" }, { "body" : "gg", "timestamp" : "00:23:20.24", "user" : "TdCxStJimmy" }, { "body" : "gg", "timestamp" : "00:23:21.22", "user" : "Monster`tita" }, { "body" : "gg", "timestamp" : "00:23:22.00", "user" : "Chicken23CKC" } ], "mostDamageWithOneShot" : { "damage" : "239", "team" : "Ro Bad", "worm" : "Kaggly Bajesus" }, "mostKillsWithOneShot" : { "damage" : "2", "team" : "Ro Bad", "worm" : "Gunk" }, "roundTime" : "0:23:28", "spectators" : [ { "host" : true, "user" : "TdCxStJimmy" }, { "host" : false, "user" : "Komito`db" }, { "host" : false, "user" : "Albus" }, { "host" : false, "user" : "NNNxDario" }, { "host" : false, "user" : "Chicken23CKC" } ], "startedAt" : "2022-01-02 19:47:23 GMT", "suddenDeath" : "00:22:23.48", "teamTimeTotals" : [ { "retreat" : "00:00:44.00", "team" : "~CWT2021", "total" : "00:08:35.84", "turn" : "00:07:51.84", "turnCount" : 12, "user" : "Monster`tita" }, { "retreat" : "00:00:30.38", "team" : "Ro Bad", "total" : "00:08:59.68", "turn" : "00:08:29.30", "turnCount" : 13, "user" : "dt-Mablak" } ], "teams" : [ { "color" : "Blue", "localPlayer" : false, "team" : "~CWT2021", "user" : "Monster`tita" }, { "color" : "Red", "localPlayer" : true, "team" : "Ro Bad", "user" : "dt-Mablak" } ], "texture" : "Data\\Level\\Pirate", "totalGameTimeElapsed" : "Unknown", "turns" : [ { "damages" : [ { "damage" : 211, "kills" : 0, "victim" : "Monster`tita" }, { "damage" : 28, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : true, "retreatSeconds" : 4.86, "timeUsedSeconds" : 44.86, "timestamp" : "00:00:00.00", "user" : "dt-Mablak", "weapons" : [ "Select Worm", "Ninja Rope", "Ninja Rope", "Dynamite" ] }, { "damages" : [ { "damage" : 4, "kills" : 0, "victim" : "Monster`tita" }, { "damage" : 121, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 44.66, "timestamp" : "00:01:05.20", "user" : "Monster`tita", "weapons" : [ "Select Worm", "Ninja Rope", "Dynamite" ] }, { "damages" : [ { "damage" : 112, "kills" : 2, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.82, "timestamp" : "00:02:06.34", "user" : "dt-Mablak", "weapons" : [ "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 159, "kills" : 1, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 42.74, "timestamp" : "00:03:21.54", "user" : "Monster`tita", "weapons" : [ "Select Worm", "Ninja Rope", "Mad Cow" ] }, { "damages" : [ { "damage" : 50, "kills" : 0, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 43.38, "timestamp" : "00:04:24.76", "user" : "dt-Mablak", "weapons" : [ "Select Worm", "Ninja Rope", "Battle Axe" ] }, { "damages" : [ { "damage" : 28, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.38, "timestamp" : "00:05:22.66", "user" : "Monster`tita", "weapons" : [ "Petrol Bomb" ] }, { "damages" : [ { "damage" : 7, "kills" : 1, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 34.74, "timestamp" : "00:06:16.92", "user" : "dt-Mablak", "weapons" : [ "Fire Punch" ] }, { "damages" : [ { "damage" : 35, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 14.06, "timestamp" : "00:07:10.82", "user" : "Monster`tita", "weapons" : [ "Blow Torch" ] }, { "damages" : [ { "damage" : 66, "kills" : 1, "victim" : "Monster`tita" }, { "damage" : 8, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : true, "retreatSeconds" : 1.48, "timeUsedSeconds" : 43.3, "timestamp" : "00:07:38.48", "user" : "dt-Mablak", "weapons" : [ "Parachute", "Sheep" ] }, { "damages" : [ { "damage" : 39, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 37.72, "timestamp" : "00:08:38.76", "user" : "Monster`tita", "weapons" : [ "Ninja Rope", "Sheep" ] }, { "damages" : [ { "damage" : 50, "kills" : 0, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 44.7, "timestamp" : "00:09:30.10", "user" : "dt-Mablak", "weapons" : [ "Ninja Rope", "Battle Axe" ] }, { "damages" : [ { "damage" : 76, "kills" : 2, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 36.96, "timestamp" : "00:10:29.12", "user" : "Monster`tita", "weapons" : [ "Select Worm", "Low Gravity", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 100, "kills" : 1, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 29.32, "timestamp" : "00:11:30.10", "user" : "dt-Mablak", "weapons" : [ "Mad Cow" ] }, { "damages" : [ { "damage" : 50, "kills" : 0, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 43.14, "timestamp" : "00:12:17.42", "user" : "Monster`tita", "weapons" : [ "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 50, "kills" : 0, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 42.96, "timestamp" : "00:13:22.24", "user" : "dt-Mablak", "weapons" : [ "Jet Pack", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 41, "kills" : 1, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 43.6, "timestamp" : "00:14:24.22", "user" : "Monster`tita", "weapons" : [ "Ninja Rope", "Uzi" ] }, { "damages" : [ { "damage" : 50, "kills" : 1, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 37.68, "timestamp" : "00:15:22.52", "user" : "dt-Mablak", "weapons" : [ "Select Worm", "Shotgun", "Shotgun" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 37.2, "timestamp" : "00:16:23.74", "user" : "Monster`tita", "weapons" : [ "Girder" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 0.02, "timeUsedSeconds" : 20.24, "timestamp" : "00:17:09.58", "user" : "dt-Mablak", "weapons" : [ "Teleport" ] }, { "damages" : [ { "damage" : 36, "kills" : 1, "victim" : "dt-Mablak" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 42.9, "timestamp" : "00:17:39.32", "user" : "Monster`tita", "weapons" : [ "Parachute", "Shotgun", "Shotgun" ] }, { "damages" : [ { "damage" : 50, "kills" : 1, "victim" : "Monster`tita" } ], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 41.9, "timestamp" : "00:18:42.86", "user" : "dt-Mablak", "weapons" : [ "Low Gravity", "Shotgun", "Shotgun" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 3, "timeUsedSeconds" : 39.98, "timestamp" : "00:19:44.62", "user" : "Monster`tita", "weapons" : [ "Girder" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 0.02, "timeUsedSeconds" : 43.86, "timestamp" : "00:20:34.58", "user" : "dt-Mablak", "weapons" : [ "Teleport" ] }, { "damages" : [], "lossOfControl" : false, "retreatSeconds" : 5, "timeUsedSeconds" : 44.5, "timestamp" : "00:21:26.52", "user" : "Monster`tita", "weapons" : [ "Jet Pack", "Girder" ] }, { "damages" : [ { "damage" : 1, "kills" : 1, "victim" : "Monster`tita" }, { "damage" : 1, "kills" : 1, "victim" : "dt-Mablak" } ], "lossOfControl" : true, "retreatSeconds" : 0, "timeUsedSeconds" : 37.54, "timestamp" : "00:22:29.82", "user" : "dt-Mablak", "weapons" : [ "Ninja Rope", "Kamikaze" ] } ], "winsTheRound" : "Ro Bad", "wormOfTheRound" : { "team" : "Ro Bad", "worm" : "Shart Attack" }, "wormPlacementCompleted" : null, "wormPlacements" : [] }