NuGardt SoftwareSc2RanksService GetCharacterTeamsList Method NuGardt
Returns all of the teams the character is on, as well as the characters info. Does not return other characters on the team.

Namespace: NuGardt.SC2Ranks.API
Assembly: NuGardt.SC2Ranks.API (in NuGardt.SC2Ranks.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public Exception GetCharacterTeamsList(
	eSc2RanksRegion Region,
	int BattleNetID,
	eSc2RanksExpansion Expansion,
	eSc2RanksBracket Bracket,
	eSc2RanksLeague League,
	out Sc2RanksGetCharacterTeamsListResult Result,
	Nullable<eSc2RanksRace> Race = null,
	bool IgnoreCache = false
)

Parameters

Region
Type: NuGardt.SC2Ranks.API eSc2RanksRegion
The region of the character.
BattleNetID
Type: OnlineSystem Int32
The Battle.net identifier.
Expansion
Type: NuGardt.SC2Ranks.API eSc2RanksExpansion
The expansion set of StarCraft II.
Bracket
Type: NuGardt.SC2Ranks.API eSc2RanksBracket
The bracket to filter.
League
Type: NuGardt.SC2Ranks.API eSc2RanksLeague
The league to filter.
Result
Type: NuGardt.SC2Ranks.API.Result Sc2RanksGetCharacterTeamsListResult 
Contains the result. Is Nothing if no data was received and the query timed out.
Race (Optional)
Type: OnlineSystem Nullable eSc2RanksRace 
Optional. Default is all races. Race to filter.
IgnoreCache (Optional)
Type: OnlineSystem Boolean
Optional. Default is False. Ignores any cached data that might be available when caching is enabled.

Return Value

Type: OnlineException
Return an System.Exception if an error occurred otherwise Nothing.
Remarks

See Also