Difference between revisions of "External Services and Tools/API Documentation/listrealms"
Jump to navigation
Jump to search
(Created page with "{{RightTOC}} Lists all realms present on on island. == Parameters== {| style="background:#eee;" |- ! Parameter ! Type ! Meaning |-valign="top" | World | integer | Game world...") |
|||
Line 16: | Line 16: | ||
== Output == | == Output == | ||
− | ===XML | + | ===XML=== |
− | <listing> | + | <xml> |
− | <realm-ids> | + | <listing> |
− | <realm-names> | + | <realm-ids>0,1,3,11,26,29,30,37,38</realm-ids> |
− | </listing | + | <realm-names> |
− | Note | + | (rogue),Perdan,Sirion,Caligus,Eponllyn,Yssrgard,Perleone,Shadowdale,Alexandria |
+ | </realm-names> | ||
+ | </listing> | ||
+ | </xml> | ||
+ | ===JSON=== | ||
+ | { | ||
+ | "listing": { | ||
+ | "realm-ids": "0,1,3,11,26,29,30,37,38", | ||
+ | "realm-names": "(rogue),Perdan,Sirion,Caligus,Eponllyn,Yssrgard,Perleone,Shadowdale,Alexandria" | ||
+ | } | ||
+ | } | ||
+ | Note: These lists are now sorted relative to one another as part of they are built. | ||
== Example == | == Example == | ||
; Realms on the East Island : http://battlemaster.org/data/listrealms/1 | ; Realms on the East Island : http://battlemaster.org/data/listrealms/1 |
Revision as of 02:40, 29 December 2021
Contents
Lists all realms present on on island.
Parameters
Parameter | Type | Meaning |
---|---|---|
World | integer | Game world ID you access, see #World IDs |
Output
XML
<xml> <listing> <realm-ids>0,1,3,11,26,29,30,37,38</realm-ids> <realm-names> (rogue),Perdan,Sirion,Caligus,Eponllyn,Yssrgard,Perleone,Shadowdale,Alexandria </realm-names> </listing> </xml>
JSON
{ "listing": { "realm-ids": "0,1,3,11,26,29,30,37,38", "realm-names": "(rogue),Perdan,Sirion,Caligus,Eponllyn,Yssrgard,Perleone,Shadowdale,Alexandria" } }
Note: These lists are now sorted relative to one another as part of they are built.
Example
- Realms on the East Island
- http://battlemaster.org/data/listrealms/1