Enter map details

When attempting to run this tool, the JSON file that was created when the SVG file was generated must be called "mapDetailsForAPI.json" and be in the same directory (folder) as the tool. Also, a new file "settings.json" must be created and placed in the same directory. Its contents should look similar to this:

{
	"email": "your@email.com",
	"apiToken": "yourapitoken",
	"mapId": 100524
}

Your Warzone account email and API token will be required for it to use the API.

This uses the API to:

The mapId can be obtained by going to the Warzone map editor > Link for sharing > choose the one that looks similar to https://www.warzone.com/SinglePlayer?PreviewMap=100524

One of the following for can be downloaded and extracted. Source code for these files can be found here.