Beispiel #1
0
 public static Response GetSimilarbyID(string name)
 {
     using (var wc = new WebClient()
            )
     {
         string url =
             "http://developer.echonest.com/api/v4/artist/similar?id=" + name;
         string data = wc.DownloadString(TENWSDev.Build(url));
         return(Deserializer <RootObject> .Deserialize(data).response);
     }
 }
Beispiel #2
0
 public static Response GetbyArtistName(string name)
 {
     using (var wc = new WebClient()
            )
     {
         string url =
             "http://developer.echonest.com/api/v4/playlist/static?sort=song_hotttnesss-desc&artist=" + name;
         string data = wc.DownloadString(TENWSDev.Build(url));
         return(Deserializer <RootObject> .Deserialize(data).response);
     }
 }