Esempio n. 1
0
 public async Task <HttpResponseMessage> CheckSubscriberStatusAsync(string userId)
 {
     return(await TwitchApi.CheckSubscriberStatusAsync(userId, _botConfig.TwitchClientId, _botConfig.TwitchAccessToken));
 }
Esempio n. 2
0
 public async Task <HttpResponseMessage> CheckFollowerStatusAsync(string chatterTwitchId)
 {
     return(await TwitchApi.GetFollowerStatusAsync(chatterTwitchId, _botConfig.TwitchClientId));
 }
Esempio n. 3
0
 public async Task <HttpResponseMessage> GetChattersAsync()
 {
     return(await TwitchApi.GetChattersAsync(_botConfig.TwitchClientId));
 }
Esempio n. 4
0
 public async Task <ClipJSON> GetClipAsync(string slug)
 {
     return(await TwitchApi.GetClipAsync(_botConfig.TwitchClientId, slug));
 }
Esempio n. 5
0
 public async Task <VideoJSON> GetVideoAsync(string videoId)
 {
     return(await TwitchApi.GetVideoAsync(_botConfig.TwitchClientId, videoId));
 }
Esempio n. 6
0
 public async Task <RootSubscriptionJSON> GetSubscribersByChannelAsync()
 {
     return(await TwitchApi.GetSubscribersByChannelAsync(_botConfig.TwitchClientId, _botConfig.TwitchAccessToken));
 }
Esempio n. 7
0
 public async Task <RootFollowerJSON> GetFollowersByChannelAsync()
 {
     return(await TwitchApi.GetFollowersByChannelAsync(_botConfig.TwitchClientId));
 }
Esempio n. 8
0
 public async Task <RootUserJSON> GetUsersByLoginNameAsync(string loginName)
 {
     return(await TwitchApi.GetUsersByLoginNameAsync(loginName, _botConfig.TwitchClientId));
 }
Esempio n. 9
0
 public async Task <RootStreamJSON> GetUserStreamAsync(string userId)
 {
     return(await TwitchApi.GetUserStreamAsync(userId, _botConfig.TwitchClientId));
 }
Esempio n. 10
0
 public async Task <RootStreamJSON> GetBroadcasterStreamAsync()
 {
     return(await TwitchApi.GetBroadcasterStreamAsync(_botConfig.TwitchClientId));
 }
Esempio n. 11
0
 public async Task <ChannelJSON> GetUserChannelByIdAsync(string userId)
 {
     return(await TwitchApi.GetUserChannelByIdAsync(userId, _botConfig.TwitchClientId));
 }
Esempio n. 12
0
 public async Task <ChannelJSON> GetBroadcasterChannelByIdAsync()
 {
     return(await TwitchApi.GetBroadcasterChannelByIdAsync(_botConfig.TwitchClientId));
 }