using System.Collections.Generic;
public static void Main()
using (var webClient = new WebClient())
String rawJSON = webClient.DownloadString("https://status.cloud.google.com/incidents.json");
List<Status> statusCollection = JsonConvert.DeserializeObject<List<Status>>(rawJSON);
Console.WriteLine(statusCollection.Count + " items");
Console.WriteLine(string.Join("\n", statusCollection.Select(s => string.Format("{0} ({1}) {2} - {3} - {4} updates",
s.Number, s.Severity, s.Service_name, s.External_desc, s.Updates.Count))));
public string Begin { get; set; }
public string Created { get; set; }
public string End { get; set; }
public string External_desc { get; set; }
public string Modified { get; set; }
[JsonProperty("most-recent-update")]
public MRUpdateContainer Most_recent_update { get; set; }
public int Number { get; set; }
public bool Public { get; set; }
public string Service_key { get; set; }
public string Service_name { get; set; }
public string Severity { get; set; }
public List<Update> Updates { get; set; }
public string Uri { get; set; }
public class MRUpdateContainer
public string Created { get; set; }
public string Modified { get; set; }
public string Text { get; set; }
public string When { get; set; }
public string Created { get; set; }
public string Modified { get; set; }
public string Text { get; set; }
public string When { get; set; }