Community API > Introduction

Introduction

The Donut Team Community API allows a developer to retrieve basic information by the use of HTTP requests. It does not provide any way of authenticating or interacting with user accounts. This API's original intent was for Lucas' Simpsons: Hit & Run Multiplayer to retrieve player data after authenticating. The API was opened up to allow application developers to show their submitted content on their website(s).

This API has no authentication so you can get started by checking out the various endpoints.

GET https://api.donutteam.com
Arguments Result
Accessor Sets the accessor to the string you assign. Only for logging purposes, optional.
Event Used for specifying the endpoint. See the endpoint documentation.
Format Used for specifying what format you'd like returned. See list of supported formats below.

Supported Formats

The Donut Team Community API supports showing all of its endpoints in the following:

JSON

JSON is the default way we will return the data to you. You can also specify &Format=JSON if you want to make sure your code works in the future.

XML

XML was added in 1.0.32. You can access it by specifying &Format=XML.

Example Request

GET https://api.donutteam.com/?Accessor=AerHx&Event=Version&Format=XML
<DonutTeamAPI>
	<Accessor>AerHx</Accessor>
	<Method>GET</Method>
	<Event>Version</Event>
	<Version>1.0.48</Version>
</DonutTeamAPI>