C# Class Hardly.Library.Twitch.TwitchApi

显示文件 Open project: hardlydifficult/HardlyBot Class Usage Examples

Public Methods

Method Description
GetUser ( string username ) : TwitchUser
TwitchApi ( ITwitchFactory factory )

Private Methods

Method Description
GetFollowerJson ( TwitchConnection connection, uint limit, uint offset ) : string
GetJson ( TwitchBot bot, uint limit, uint offset, string path ) : string
GetLiveFollowersJson ( TwitchConnection connection, uint limit, uint offset ) : string
UpdateLiveFollowers ( TwitchConnection connection, uint limit, uint offset ) : void
UpdateNewFollowers ( TwitchConnection connection, uint limit, uint offset, bool forceNextPage = false ) : void

Method Details

GetUser() public method

public GetUser ( string username ) : TwitchUser
username string
return TwitchUser

TwitchApi() public method

public TwitchApi ( ITwitchFactory factory )
factory ITwitchFactory