C# 클래스 OakBot.Clients.TwitchReadOnlyClient

상속: ITwitchClient
파일 보기 프로젝트 열기: ocgineer/OakBot

공개 프로퍼티들

프로퍼티 타입 설명
restClient RestClient

공개 메소드들

메소드 설명
GetBadges ( string channel ) : BadgeResult
GetChannel ( string channel ) : Channel
GetChannelVideos ( string channel, bool broadcasts = false, bool hls = false, PagingInfo pagingInfo = null ) : TwitchList
GetEmoticons ( ) : TwitchList
GetFeaturedStreams ( PagingInfo pagingInfo = null ) : TwitchList
GetFollowedChannel ( string user, string target ) : FollowedChannel
GetFollowedChannels ( string user, PagingInfo pagingInfo = null, SortDirection sortDirection = SortDirection.desc, SortType sortType = SortType.created_at ) : TwitchList
GetFollowers ( string channel, PagingInfo pagingInfo = null ) : TwitchList
GetIngests ( ) : TwitchList
GetRequest ( string url, Method method ) : RestRequest
GetRoot ( ) : RootResult
GetStream ( string channel ) : StreamResult
GetStreamSummary ( string game = null ) : StreamSummary
GetStreams ( string game = null, string channel = null, string clientId = null, PagingInfo pagingInfo = null ) : TwitchList
GetTeam ( string team ) : Team
GetTeams ( PagingInfo pagingInfo = null ) : TwitchList
GetTeams ( string channel ) : TwitchList
GetTopGames ( PagingInfo pagingInfo = null ) : TwitchList
GetTopVideos ( string game = null, PeriodType period = PeriodType.week, PagingInfo pagingInfo = null ) : TwitchList
GetUser ( string user ) : User
GetVideo ( string id ) : Video
IsFollowing ( string user, string target ) : bool
IsLive ( string channel ) : bool
SearchChannels ( string query, PagingInfo pagingInfo = null ) : TwitchList
SearchGames ( string query, bool live = false, PagingInfo pagingInfo = null ) : TwitchList
SearchStreams ( string query, PagingInfo pagingInfo = null ) : TwitchList
SearchStreams ( string query, bool hls, PagingInfo pagingInfo = null ) : TwitchList
TwitchReadOnlyClient ( ) : OakBot.Enums
TwitchReadOnlyClient ( string url ) : OakBot.Enums

메소드 상세

GetBadges() 공개 메소드

public GetBadges ( string channel ) : BadgeResult
channel string
리턴 OakBot.Models.BadgeResult

GetChannel() 공개 메소드

public GetChannel ( string channel ) : Channel
channel string
리턴 OakBot.Models.Channel

GetChannelVideos() 공개 메소드

public GetChannelVideos ( string channel, bool broadcasts = false, bool hls = false, PagingInfo pagingInfo = null ) : TwitchList
channel string
broadcasts bool
hls bool
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetEmoticons() 공개 메소드

public GetEmoticons ( ) : TwitchList
리턴 TwitchList

GetFeaturedStreams() 공개 메소드

public GetFeaturedStreams ( PagingInfo pagingInfo = null ) : TwitchList
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetFollowedChannel() 공개 메소드

public GetFollowedChannel ( string user, string target ) : FollowedChannel
user string
target string
리턴 OakBot.Models.FollowedChannel

GetFollowedChannels() 공개 메소드

public GetFollowedChannels ( string user, PagingInfo pagingInfo = null, SortDirection sortDirection = SortDirection.desc, SortType sortType = SortType.created_at ) : TwitchList
user string
pagingInfo OakBot.Helpers.PagingInfo
sortDirection SortDirection
sortType SortType
리턴 TwitchList

GetFollowers() 공개 메소드

public GetFollowers ( string channel, PagingInfo pagingInfo = null ) : TwitchList
channel string
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetIngests() 공개 메소드

public GetIngests ( ) : TwitchList
리턴 TwitchList

GetRequest() 공개 메소드

public GetRequest ( string url, Method method ) : RestRequest
url string
method Method
리턴 RestSharp.RestRequest

GetRoot() 공개 메소드

public GetRoot ( ) : RootResult
리턴 OakBot.Models.RootResult

GetStream() 공개 메소드

public GetStream ( string channel ) : StreamResult
channel string
리턴 OakBot.Models.StreamResult

GetStreamSummary() 공개 메소드

public GetStreamSummary ( string game = null ) : StreamSummary
game string
리턴 OakBot.Models.StreamSummary

GetStreams() 공개 메소드

public GetStreams ( string game = null, string channel = null, string clientId = null, PagingInfo pagingInfo = null ) : TwitchList
game string
channel string
clientId string
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetTeam() 공개 메소드

public GetTeam ( string team ) : Team
team string
리턴 OakBot.Models.Team

GetTeams() 공개 메소드

public GetTeams ( PagingInfo pagingInfo = null ) : TwitchList
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetTeams() 공개 메소드

public GetTeams ( string channel ) : TwitchList
channel string
리턴 TwitchList

GetTopGames() 공개 메소드

public GetTopGames ( PagingInfo pagingInfo = null ) : TwitchList
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetTopVideos() 공개 메소드

public GetTopVideos ( string game = null, PeriodType period = PeriodType.week, PagingInfo pagingInfo = null ) : TwitchList
game string
period PeriodType
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetUser() 공개 메소드

public GetUser ( string user ) : User
user string
리턴 OakBot.Models.User

GetVideo() 공개 메소드

public GetVideo ( string id ) : Video
id string
리턴 OakBot.Models.Video

IsFollowing() 공개 메소드

public IsFollowing ( string user, string target ) : bool
user string
target string
리턴 bool

IsLive() 공개 메소드

public IsLive ( string channel ) : bool
channel string
리턴 bool

SearchChannels() 공개 메소드

public SearchChannels ( string query, PagingInfo pagingInfo = null ) : TwitchList
query string
pagingInfo PagingInfo
리턴 TwitchList

SearchGames() 공개 메소드

public SearchGames ( string query, bool live = false, PagingInfo pagingInfo = null ) : TwitchList
query string
live bool
pagingInfo PagingInfo
리턴 TwitchList

SearchStreams() 공개 메소드

public SearchStreams ( string query, PagingInfo pagingInfo = null ) : TwitchList
query string
pagingInfo PagingInfo
리턴 TwitchList

SearchStreams() 공개 메소드

public SearchStreams ( string query, bool hls, PagingInfo pagingInfo = null ) : TwitchList
query string
hls bool
pagingInfo PagingInfo
리턴 TwitchList

TwitchReadOnlyClient() 공개 메소드

public TwitchReadOnlyClient ( ) : OakBot.Enums
리턴 OakBot.Enums

TwitchReadOnlyClient() 공개 메소드

public TwitchReadOnlyClient ( string url ) : OakBot.Enums
url string
리턴 OakBot.Enums

프로퍼티 상세

restClient 공개적으로 프로퍼티

public RestClient restClient
리턴 RestClient