Ejemplo n.º 1
0
 static async Task <String> GetChannelData(string ApiKey, string ChannelId)
 {
     try
     {
         ApiKey = _configuration["YoutubeApiKey"];
         ChannelData ChannelData = new ChannelData();
         return(await ChannelData.Run(ApiKey, ChannelId));
     }
     catch (Exception ex)
     {
         return("error: " + ex);
     }
 }