Difference between revisions of "Turf API"

m (r2.7.3) (Robot: Adding sv:TurfAPI)
(API V4 is the latest stable API. Changed category for consistency.)
Line 20: Line 20:
 
[[Turf API V2]]
 
[[Turf API V2]]
  
[[Turf API V3]] (Latest stable)
+
[[Turf API V3]]
 +
 
 +
[[Turf API V4]] (Latest stable)
  
 
[[Unstable Turf API]] (EXPERIMENTAL, functions may added or removed. Do not use for your final product.)
 
[[Unstable Turf API]] (EXPERIMENTAL, functions may added or removed. Do not use for your final product.)
  
  
[[Category:Third-Party Development]]
+
[[Category:Third Party Development]]
  
 
[[sv:TurfAPI]]
 
[[sv:TurfAPI]]

Revision as of 11:49, 20 January 2015

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.)