public async Task <TwitchStreamsResult?> GetTwitchStreamsAsync() { var resJson = await _client.GetCurrentStreams(GameId); if (resJson is null) { return(null); } var res = JsonConvert.DeserializeObject <TwitchStreamsResult>(resJson); return(res); }
public async Task <TwitchStreamsResult?> GetTwitchStreamsAsync() { var resJson = await _client.GetCurrentStreams(GameId); if (resJson is null) { return(null); } var res = JsonConvert.DeserializeObject <TwitchStreamsResult>(resJson); return(res); }