Difference between revisions of "External Services and Tools/API Documentation/listrealms"

From BattleMaster Wiki
Jump to navigation Jump to search
m
m
 
Line 11: Line 11:
 
|-valign="top"
 
|-valign="top"
 
| World
 
| World
| integer OR string
+
| integer/string
 
| Game world ID OR world name with first letters capitalized.
 
| Game world ID OR world name with first letters capitalized.
 
|}
 
|}

Latest revision as of 09:42, 28 January 2022

Lists all realms present on on island.

Parameters

Parameter Type Meaning
World integer/string Game world ID OR world name with first letters capitalized.

Output

Note: These lists are now sorted relative to one another as part of they are built.

XML

<xml>
 <listing>
  <realm-ids>comma-separated list of strings</realm-ids>
  <realm-names>(comma-separated list of strings</realm-names>
 </listing>
</xml>

JSON

{
    "listing": {
        "realm-ids": comma-separated list of strings,
        "realm-names": comma-separated list of strings
    }
}

Example

Realms on the East Island 
http://battlemaster.org/data/listrealms/1