private static async Task <HttpResponseMessage> UpdateShowsAsync(Stream outBlob, ILogger log)
        {
            try
            {
                log.LogInformation("Getting show feed.");

                var service  = new YouTubeShowsService();
                var showsRaw = await service.GetShows();

                var json = JsonConvert.SerializeObject(showsRaw, Formatting.None);

                log.LogInformation("Writting feed to blob.");
                using (var writer = new StreamWriter(outBlob))
                {
                    writer.Write(json);
                }

                log.LogInformation("Shows function finished.");
            }
            catch (Exception ex)
            {
                log.LogError(ex, "Unable to get show feed");
                return(new HttpResponseMessage(HttpStatusCode.InternalServerError));
            }

            return(new HttpResponseMessage(HttpStatusCode.OK));
        }
        public static async Task UpdateShows(
            [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
            [Blob("livestandup/shows.json", FileAccess.Write, Connection = "AzureWebJobsStorage")] Stream outBlob,
            ILogger log)
        {
            try
            {
                log.LogInformation("Getting show feed.");

                var service  = new YouTubeShowsService();
                var showsRaw = await service.GetShows();

                var json = JsonConvert.SerializeObject(showsRaw, Formatting.None);

                log.LogInformation("Writting feed to blob.");
                using (var writer = new StreamWriter(outBlob))
                {
                    writer.Write(json);
                }

                log.LogInformation("Shows function finished.");
            }
            catch (Exception ex)
            {
                log.LogError(ex, "Unable to get show feed");
            }
        }