public static List <SongListItem> GetSongs(HttpWebResponse response) { StreamReader reader = new StreamReader(response.GetResponseStream()); string json = reader.ReadToEnd(); return(ArtistParsing.ParseSongs(json)); }
public static Artist GetDetails(HttpWebResponse response) { StreamReader reader = new StreamReader(response.GetResponseStream()); string json = reader.ReadToEnd(); return(ArtistParsing.ParseDetails(json)); }