Servers

Gets a list of all servers, whether they are online or not.

URL

http://api.quelsolaar.com/servers

HTTP Methods:

  • GET

Parameters:

none

Response

A HTTP Response Code in the header.

The response is a XML document, with the following format:

Response Example

http://api.quelsolaar.com/servers

<?xml version="1.0" encoding="UTF-8"?>
<servers>
  <server id="1">
    <name>London #1</name>
    <location>London, United Kingdom</location>
    <armageddon>false</armageddon>
    <settlement_count>1<settlement_count>
    <uptime>86400</uptime>
    <users_active>3</users_active>
    <time>1274969671</time>
  </server>
  <server id="2">
    <name>London #2</name>
    <location>London, United Kingdom</location>
    <armageddon>true</armageddon>
    <settlement_count>3<settlement_count>
    <uptime>86400</uptime>
    <users_active>34</users_active>
    <time>1274969671</time>
  </server>
  <server id="3">
    <name>Atlanta #1</name>
    <location>Atlanta, Georgia, USA</location>
    <armageddon>false</armageddon>
    <settlement_count>1<settlement_count>
    <uptime>86400</uptime>
    <users_active>7</users_active>
    <time>1274969671</time>
  </server>
  ...
</servers>