External Services and Tools/API Documentation/family
Jump to navigation
Jump to search
Contents
List details on a particular family.
Parameters
Parameter | Type | Meaning |
---|---|---|
ID | integer | ID number of the family in question. This is identical to the User ID that can be found on the user details page. |
Name | text/string | Can replace ID. Name of the family being queried. |
Output
XML
<familydata> <id> integer </id> <donator> string </donator> <name> string </name> <fame>integer </fame> <wealth> integer </wealth> <homeRegion> string </homeRegion> <homeWealth> string </homeWealth> <heraldry> hyphen-separted list of strings </heraldry> </familydata>
JSON
{ "familydata": { "id": integer, "donator": string, "name": string, "fame": integer, "wealth": integer, "homeRegion": string, "homeWorld": string, "heraldry": hyphen-separted list of strings } }
Example
- The Indirik family by ID
- http://battlemaster.org/data/family.php?ID=14094
- The Anaris family by name
- http://battlemaster.org/data/family.php?Name=Anaris