External Services and Tools/API Documentation
Jump to navigation
Jump to search
All scripts are located at http://battlemaster.org/data/. So, for example, to get the region data of Akesh Temple, you would access the URL http://battlemaster.org/data/region.php?World=1&ID=1.
region.php
Parameter | Type | Meaning |
---|---|---|
World | integer | Game world ID you access, see #World IDs |
ID | integer | ID number of the region in question. You can find this for example by examining the URL of the "Details" link on the Region List page, or (if the page is already set up correctly) on the region's page here in the wiki. |
Output:
<regiondata> <continent> string </continent> <name> string </name> <type> string </type> <area> string </area> <population> number </population> <economy> comma-seperated list of strings </economy> <realm> string </realm> <duchy> string </duchy> <lord> string </lord> </regiondata>
Additional Information
World IDs
The various game worlds of BattleMaster are internally accessed through ID numbers. Here is the mapping:
ID | World |
---|---|
1 | East Island |
2 | Atamara |
4 | Beluaterra |
6 | Colonies |
7 | Far East |
8 | Dwilight |
Yes, 3 and 5 are missing. They used to be the IDs of South-West and South-East Island.