C# Class AuntieDot.AuntieDotManager

Show file Open project: 0xdeafcafe/AuntieDot

Public Methods

Method Description
AuntieDotManager ( string spartanToken, string gamertagFromAuth ) : AuntieDot.Core

Initalize a new Instance of AuntieDot. The most badass, cigar chompiest HaloWaypoint Stat Wrapper there is!

CallX343Api ( string url, string gamertag = null, string>.Dictionary replacementVariables = null ) : string
CallX343ApiAsync ( string url, string gamertag = null, string>.Dictionary replacementVariables = null ) : Task
CreateUrlFromObject ( Models imageUrl, string size ) : string
GetServicesList ( ) : void
GetServicesList ( string jsonString ) : void
GetServicesListAsync ( ) : System.Threading.Tasks.Task
SetServicesList ( string jsonString ) : void
SetServicesListAsync ( string jsonString ) : System.Threading.Tasks.Task

Private Methods

Method Description
PopulateUrl ( string url, string>.Dictionary replacementVariables ) : string
SendGetRequest ( string url, string spartanToken, RequestAuthType authType ) : string
SendGetRequestAsync ( string url, string spartanToken, RequestAuthType authType ) : Task

Method Details

AuntieDotManager() public method

Initalize a new Instance of AuntieDot. The most badass, cigar chompiest HaloWaypoint Stat Wrapper there is!
public AuntieDotManager ( string spartanToken, string gamertagFromAuth ) : AuntieDot.Core
spartanToken string The 343 Spartan Token, this can be obtained in AuntieDot.Authentication
gamertagFromAuth string The gamertag that was used in the original WLID OAuth process.
return AuntieDot.Core

CallX343Api() public method

public CallX343Api ( string url, string gamertag = null, string>.Dictionary replacementVariables = null ) : string
url string
gamertag string
replacementVariables string>.Dictionary
return string

CallX343ApiAsync() public method

public CallX343ApiAsync ( string url, string gamertag = null, string>.Dictionary replacementVariables = null ) : Task
url string
gamertag string
replacementVariables string>.Dictionary
return Task

CreateUrlFromObject() public method

public CreateUrlFromObject ( Models imageUrl, string size ) : string
imageUrl Models
size string
return string

GetServicesList() public method

public GetServicesList ( ) : void
return void

GetServicesList() public method

public GetServicesList ( string jsonString ) : void
jsonString string
return void

GetServicesListAsync() public method

public GetServicesListAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SetServicesList() public method

public SetServicesList ( string jsonString ) : void
jsonString string
return void

SetServicesListAsync() public method

public SetServicesListAsync ( string jsonString ) : System.Threading.Tasks.Task
jsonString string
return System.Threading.Tasks.Task