Difference between revisions of "External Services and Tools/API Documentation/listregions"
Jump to navigation
Jump to search
m |
m |
||
Line 9: | Line 9: | ||
|-valign="top" | |-valign="top" | ||
| World | | World | ||
− | | integer | + | | integer/string |
| Game world ID OR world name with first letters capitalized. | | Game world ID OR world name with first letters capitalized. | ||
|} | |} | ||
Line 16: | Line 16: | ||
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. | ||
===XML=== | ===XML=== | ||
− | + | {{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 |
Revision as of 09:33, 28 January 2022
Lists all regions on an 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
<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