Turf API

Revision as of 11:49, 20 January 2015 by Mipson (talk | contribs) (API V4 is the latest stable API. Changed category for consistency.)

Disclaimer

The turf API is intended for use in third party implementations. Hacking, heavy over-use or other malicious usage of the API may lead to banning from the API and the game.

Description

The Turf API is currently based on HTTP requests/responses structured as XML or RSS for ease of use and availability reasons. The system is based on different versions. You can choose which version to use by stating this in the request-URL.

Example: http://api.turfgame.com/v2/ will take you to API version 2, while http://api.turfgame.com/unstable/ will take you to the "unstable" version of the API.

Usage

Click on the API below to see how to use it. (Usage may differ between different versions.)

Versions

Turf API V1

Turf API V2

Turf API V3

Turf API V4 (Latest stable)

Unstable Turf API (EXPERIMENTAL, functions may added or removed. Do not use for your final product.)