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.
Much of the information from an exported replay's log is included.
Example response
JSON
{ "messages": [ { "timestamp": "00:00:00.00", "user": "NNN`Rafka", "body": "glhf!" }, { "timestamp": "00:00:00.76", "user": "Siwy", "body": "hf" }, { "timestamp": "00:00:03.42", "user": "TheExtremist", "body": "whee!" }, { "timestamp": "00:02:59.08", "user": "NNN`Rafka", "body": "gj" }, { "timestamp": "00:03:08.84", "user": "Siwy", "body": "thx" }, { "timestamp": "00:25:02.24", "user": "NNN`Rafka", "body": "gg" }, { "timestamp": "00:25:05.72", "user": "Siwy", "body": "gg" }, { "timestamp": "00:25:06.26", "user": "SiD`", "body": "gg" }, { "timestamp": "00:25:08.46", "user": "TVPenguin", "body": "gg" }, { "timestamp": "00:25:10.76", "user": "TheExtremist", "body": "gg" } ], "turns": [ { "timestamp": "00:00:00.00", "user": "Siwy", "weapons": [ "Ninja Rope", "Shotgun", "Shotgun" ], "damages": [ { "damage": 200, "kills": 2, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 40.18, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:01:08.20", "user": "NNN`Rafka", "weapons": [ "Ninja Rope", "Sheep" ], "damages": [ { "damage": 123, "kills": 0, "victim": "Siwy" } ], "timeUsedSeconds": 44.3, "retreatSeconds": 5.0, "lossOfControl": false }, { "timestamp": "00:02:01.56", "user": "Siwy", "weapons": [ "Select Worm", "Ninja Rope", "Mine" ], "damages": [ { "damage": 4, "kills": 0, "victim": "Siwy" }, { "damage": 87, "kills": 0, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 41.86, "retreatSeconds": 5.0, "lossOfControl": false }, { "timestamp": "00:03:02.78", "user": "NNN`Rafka", "weapons": [ "Mad Cow" ], "damages": [ { "damage": 156, "kills": 0, "victim": "Siwy" } ], "timeUsedSeconds": 44.32, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:04:00.32", "user": "Siwy", "weapons": [ "Ninja Rope", "Ninja Rope", "Petrol Bomb" ], "damages": [ { "damage": 59, "kills": 0, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 24.46, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:04:35.24", "user": "NNN`Rafka", "weapons": [ "Ninja Rope", "Parachute", "Shotgun", "Shotgun" ], "damages": [ { "damage": 110, "kills": 1, "victim": "Siwy" } ], "timeUsedSeconds": 42.54, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:05:42.64", "user": "Siwy", "weapons": [ "Kamikaze" ], "damages": [ { "damage": 7, "kills": 1, "victim": "Siwy" }, { "damage": 100, "kills": 1, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 31.46, "retreatSeconds": 0.0, "lossOfControl": true }, { "timestamp": "00:06:23.06", "user": "NNN`Rafka", "weapons": [ "Select Worm", "Uzi" ], "damages": [ { "damage": 88, "kills": 2, "victim": "Siwy" } ], "timeUsedSeconds": 44.42, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:07:32.30", "user": "Siwy", "weapons": [ "Select Worm", "Ninja Rope", "Sheep" ], "damages": [ { "damage": 62, "kills": 0, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 35.82, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:08:20.08", "user": "NNN`Rafka", "weapons": [ "Ninja Rope", "Ninja Rope", "Ninja Rope", "Parachute" ], "damages": [ { "damage": 16, "kills": 0, "victim": "Siwy" }, { "damage": 7, "kills": 0, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 35.26, "retreatSeconds": 0.0, "lossOfControl": true }, { "timestamp": "00:09:00.18", "user": "Siwy", "weapons": [ "Select Worm", "Parachute", "Bazooka" ], "damages": [ { "damage": 31, "kills": 1, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 31.6, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:09:46.42", "user": "NNN`Rafka", "weapons": [ "Dynamite" ], "damages": [ { "damage": 56, "kills": 1, "victim": "Siwy" } ], "timeUsedSeconds": 43.24, "retreatSeconds": 5.0, "lossOfControl": false }, { "timestamp": "00:10:46.04", "user": "Siwy", "weapons": [ "Uzi" ], "damages": [ { "damage": 13, "kills": 1, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 25.8, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:11:27.78", "user": "NNN`Rafka", "weapons": [ "Girder" ], "damages": [], "timeUsedSeconds": 40.36, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:12:18.24", "user": "Siwy", "weapons": [ "Shotgun", "Shotgun" ], "damages": [], "timeUsedSeconds": 26.06, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:12:56.20", "user": "NNN`Rafka", "weapons": [ "Ninja Rope", "Battle Axe" ], "damages": [ { "damage": 42, "kills": 0, "victim": "Siwy" } ], "timeUsedSeconds": 43.2, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:13:53.92", "user": "Siwy", "weapons": [ "Girder" ], "damages": [], "timeUsedSeconds": 21.52, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:14:21.08", "user": "NNN`Rafka", "weapons": [ "Select Worm", "Uzi" ], "damages": [ { "damage": 43, "kills": 1, "victim": "Siwy" }, { "damage": 16, "kills": 0, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 41.46, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:15:23.16", "user": "Siwy", "weapons": [ "Shotgun", "Shotgun" ], "damages": [], "timeUsedSeconds": 44.18, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:16:21.50", "user": "NNN`Rafka", "weapons": [ "Select Worm", "Teleport" ], "damages": [], "timeUsedSeconds": 41.3, "retreatSeconds": 0.02, "lossOfControl": false }, { "timestamp": "00:17:10.90", "user": "Siwy", "weapons": [ "Teleport" ], "damages": [], "timeUsedSeconds": 15.5, "retreatSeconds": 0.02, "lossOfControl": false }, { "timestamp": "00:17:32.38", "user": "NNN`Rafka", "weapons": [ "Ninja Rope", "Battle Axe" ], "damages": [ { "damage": 42, "kills": 0, "victim": "Siwy" } ], "timeUsedSeconds": 39.74, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:18:25.88", "user": "Siwy", "weapons": [ "Girder" ], "damages": [], "timeUsedSeconds": 31.98, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:19:04.22", "user": "NNN`Rafka", "weapons": [ "Girder" ], "damages": [], "timeUsedSeconds": 10.42, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:19:24.74", "user": "Siwy", "weapons": [ "Mad Cow" ], "damages": [ { "damage": 16, "kills": 0, "victim": "Siwy" }, { "damage": 54, "kills": 1, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 44.68, "retreatSeconds": 0.52, "lossOfControl": true }, { "timestamp": "00:20:26.86", "user": "NNN`Rafka", "weapons": [ "Grenade" ], "damages": [ { "damage": 26, "kills": 1, "victim": "Siwy" }, { "damage": 15, "kills": 0, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 6.76, "retreatSeconds": 3.0, "lossOfControl": true }, { "timestamp": "00:20:48.16", "user": "Siwy", "weapons": [ "Teleport" ], "damages": [], "timeUsedSeconds": 42.26, "retreatSeconds": 0.02, "lossOfControl": false }, { "timestamp": "00:21:34.30", "user": "NNN`Rafka", "weapons": [ "Bungee", "Girder" ], "damages": [], "timeUsedSeconds": 41.46, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:22:30.20", "user": "Siwy", "weapons": [ "Girder" ], "damages": [], "timeUsedSeconds": 27.46, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:23:11.78", "user": "NNN`Rafka", "weapons": [ "Shotgun", "Shotgun" ], "damages": [], "timeUsedSeconds": 36.82, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:24:03.80", "user": "Siwy", "weapons": [ "Blow Torch" ], "damages": [], "timeUsedSeconds": 14.74, "retreatSeconds": 3.0, "lossOfControl": false }, { "timestamp": "00:24:35.62", "user": "NNN`Rafka", "weapons": [ "Jet Pack", "Kamikaze" ], "damages": [ { "damage": 1, "kills": 1, "victim": "Siwy" }, { "damage": 1, "kills": 1, "victim": "NNN`Rafka" } ], "timeUsedSeconds": 23.86, "retreatSeconds": 0.0, "lossOfControl": true } ], "suddenDeath": "00:22:25.84", "spectators": [ { "user": "SiD`", "host": true }, { "user": "TVPenguin", "host": false }, { "user": "TheExtremist", "host": false }, { "user": "waldek", "host": false } ], "teams": [ { "color": "Red", "user": "Siwy", "team": "mloda kadra", "localPlayer": false }, { "color": "Blue", "user": "NNN`Rafka", "team": "Men of faith", "localPlayer": true } ], "teamTimeTotals": [ { "team": "mloda kadra", "user": "Siwy", "turn": "00:08:19.56", "retreat": "00:00:38.56", "total": "00:08:58.12", "turnCount": 16 }, { "team": "Men of faith", "user": "NNN`Rafka", "turn": "00:09:39.46", "retreat": "00:00:43.02", "total": "00:10:22.48", "turnCount": 16 } ], "gameId": "10719273", "startedAt": "2020-01-09 13:08:59 GMT", "engineVersion": "3.7.2.1-3", "fileFormatVersion": "3.6.29.48 - 3.7.2.97", "exportVersion": "3.8", "gameEnd": "00:25:13.98", "roundTime": "0:25:13", "totalGameTimeElapsed": "Unknown", "winsTheRound": "Men of faith", "wormOfTheRound": { "worm": "Jozue", "team": "Men of faith" }, "mostDamageWithOneShot": { "damage": "175", "worm": "Przemo", "team": "mloda kadra" }, "map": "/map/m7d7ys8y", "mostKillsWithOneShot": { "damage": "2", "worm": "Przemo", "team": "mloda kadra" } }