This API is a wrapper for Minecraft Bedrock Edition's (and Minecraft Education Edition's) websocket capabilities. It allows you to send commands to the server and listen to events that happen in-game.
Microsoft's spreadsheet program can do way more than you might imagine. These are the hacks and tricks you need to know.