diepAPI is a library with many apis that allow you to interact with the game.
You can build the library yourself or use my prebuild version that can be found here.
git clone https://github.com/Cazka/diepAPI.git
npm install
npm run build
You will find diepAPI.js in the /dist folder.
include the bundled library in your script and access the api by the global Object diepAPI
.
Refer to the documentation and examples for more information.
Documentation can be found here.
Examples can be found here.