BoardService

URL: http://landgrab.net/landgrab/services/BoardService
WSDL: http://landgrab.net/landgrab/services/BoardService?wsdl

The BoardService has methods for working with a LandGrab board (game), such as getting territory and continent data.

Methods

getContinents(sessionKey, gameNumber)

Arguments:
sessionKey (xsd:string) The session key obtained from the initiateSession call
gameNumber (xsd:int) The game number

Returns
: an array of ContinentSoapBean objects

This method returns all continents in the current game, including the id of the current owner if one exists.


getTerritories(sessionKey, gameNumber)

Arguments:
sessionKey (xsd:string) The session key obtained from the initiateSession call
gameNumber (xsd:int) The game number

Returns: An array of TerritorySoapBean objects

This method will return all territories of the given game. If the game is in initial placement mode, some rules will be applied to the territory data:

If there is an authenticated user set, the territory information for that user will be populated, all other territories will show an army count of 1, no capitol and no leader. If there is an authenticated user set and the game is a team game, all teammate territories will be revealed as well.

If there is no authenticated user set and the game is in initial placement mode, all territories will show an army count of 1, no leader, no capitol.