Difference between revisions of "External Services and Tools/API Documentation/listregions"
Jump to navigation
Jump to search
m |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Lists | + | Lists all regions on an island. |
==Parameters== | ==Parameters== | ||
Line 9: | Line 9: | ||
|-valign="top" | |-valign="top" | ||
| World | | World | ||
− | | integer | + | | integer/string |
− | | Game world ID | + | | Game world ID OR world name with first letters capitalized. |
|} | |} | ||
==Output== | ==Output== | ||
Note: These lists are now sorted relative to one another as part of they are built. | Note: These lists are now sorted relative to one another as part of they are built. | ||
− | + | {{API_RegionList}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | } | ||
== Example == | == Example == | ||
; Regions on the East Island : http://battlemaster.org/data/listregions/1 | ; Regions on the East Island : http://battlemaster.org/data/listregions/1 |
Latest revision as of 09:34, 28 January 2022
Lists all regions on an island.
Contents
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> <region-ids> comma separated value list </region-ids> <region-names> comma separated value list </region-names> </listing> </xml>
JSON
{ "listing": { "region-ids": comma separated value list, "region-names": comma separated value list } }
Example
- Regions on the East Island
- http://battlemaster.org/data/listregions/1