External Services and Tools/API Documentation/listrealms

From BattleMaster Wiki
< External Services and Tools‎ | API Documentation
Revision as of 02:09, 29 December 2021 by Kagurati (talk | contribs) (Created page with "{{RightTOC}} Lists all realms present on on island. == Parameters== {| style="background:#eee;" |- ! Parameter ! Type ! Meaning |-valign="top" | World | integer | Game world...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lists all realms present on on island.

Parameters

Parameter Type Meaning
World integer Game world ID you access, see #World IDs

Output

XML/JSON

<listing>
  <realm-ids> comma-seperated list of integers </realm-ids>
  <realm-names> comma-seperated list of strings </realm-names>
</listing>

Note that these two lists are not sorted relative to each other, so you can not take entry #x from one list and think it corresponds to entry #x from the other. IDs are listed numerically, names are listed alphabetically. For a list of realms with correct IDs, please use the 'world-realms' access point.

Example

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