This is the main page for the API for DevilDaggers.info.
All API functions currently available can be found here.
I mainly set this up so I could easily communicate with the website through external environments, such as within DevilDaggersSurvivalEditor or Discord bots.
However, this is a public API; feel free to use it for any tool or application you've made yourself.
I'd also be happy to implement more functions should anyone need it, so let me know if you have any requests.
This table is automatically generated and will always be up to date.
List of functions
Here is the list containing all currently available API functions, including all their parameters.
The type for each parameter is also shown below, and optional parameters have their default value listed as well.
Returns the list of all available custom leaderboards on the site.
Returns the Death object for the given deathType and gameVersion. Returns all Death objects if no deathType parameter was specified. Returns the unknown (N/A) Death object if an invalid deathType was specified. Returns the Death object found in V3 if no gameVersion parameter was specified or if the gameVersion parameter was incorrect.
Returns the Enemy object for the given enemyName and gameVersion. Returns all Enemy objects if no enemyName parameter was specified. Returns null if the Enemy object could not be found. Returns the Enemy object found in V3 if no gameVersion parameter was specified or if the parameter was incorrect.
Returns all game versions and their release dates.
Returns 100 leaderboard entries from the current leaderboard starting at the rank parameter.
Returns the spawnset file corresponding to the given fileName parameter. Returns to this page if the spawnset could not be found.
Returns the list of available spawnsets on the site. Optional filtering can be done using the searchAuthor and searchName parameters.
Returns the list of avaiable tools on the website including their version number.
Returns the current user data corresponding to the given userID parameter.
Returns the user data for all users with a username that contains the username search parameter. Returns to this page if the username parameter has less than 3 characters.
Returns the user progression found in the leaderboard history section of the site corresponding to the given userID parameter.
Returns the world record found in the leaderboard history section of the site at the time of the given date parameter. Returns all the world records if no date parameter was specified or if the parameter was incorrect.
This website is written in ASP.NET Core, so all data types used in the API are correspondent to the System types from .NET. These are very basic types however, and should be familiar to all languages.
Represents text as a sequence of UTF-16 code units.
Represents a 32-bit signed integer.
Represents a boolean (true or false).
Represents a date in the format yyyy-MM-dd.
Here are some example calls to the API. You can click the links to test them and see what they return.
Back to top
Returns the spawnsets that contain "Sorath" in the spawnset's author and "V" in the spawnset's name.
Returns the Death object for the deathType 10 which is ANNIHILATED, and also formats the JSON.
Returns the spawnset with the name "V3_Sorath".
Returns all Enemy objects found in V2.