public static async Task addJustinChannel(string name) { string url = "http://api.justin.tv/api/channel/archives/" + name + ".json?limit=20"; JsonArray json = await GetArrayAsync(url); //SampleDataGroup archives = new SampleDataGroup("Officecam", "Office cam", "I hope this isn't creepy", "Assets/MediumGray.png", ""); SampleDataGroup archives = await makeJustinGroupByName(name); foreach (var x in json) { var y = x.GetObject(); string unique_id = y.GetNamedString("id"); string title = y.GetNamedString("title"); //string subtitle = y.GetNamedString("stream_name"); string imagepath = y.GetNamedString("image_url_medium"); string content = "http://www.twitch.tv/" + "officecam" + "/b/" + y.GetNamedString("id"); string videourl = y.GetNamedString("video_file_url"); SampleDataItem newvideo = new SampleDataItem(unique_id, title, "", imagepath, videourl, content, archives); archives.Items.Add(newvideo); } //SampleDataSource._sampleDataSource._allGroups.Clear(); SampleDataSource._sampleDataSource._allGroups.Insert(0, archives); }