Exemple #1
0
 public string SongSearch(Parameters parameters)
 {
     string urlSuffix = "song/search?api_key=" + APIKey + parameters.SongSearchString() + parameters.SongBucketString();
     string json = echo.DownloadString(urlSuffix);
     return json;
 }
Exemple #2
0
        public string SongSearch(Parameters parameters)
        {
            string urlSuffix = "song/search?api_key=" + APIKey + parameters.SongSearchString() + parameters.SongBucketString();
            string json      = echo.DownloadString(urlSuffix);

            return(json);
        }
Exemple #3
0
 public string SongSearch(string search, Parameters parameters)
 {
     if (search != parameters.songSearchParameters.artist) { parameters.songSearchParameters.artist = null; }
     string urlSuffix = "song/search?api_key=" + APIKey + query.ArtistOrArtistId(search) + parameters.SongSearchString() + parameters.SongBucketString();
     Console.WriteLine(urlSuffix);
     string json = echo.DownloadString(urlSuffix);
     return json;
 }
Exemple #4
0
        public string SongSearch(string search, Parameters parameters)
        {
            if (search != parameters.songSearchParameters.artist)
            {
                parameters.songSearchParameters.artist = null;
            }
            string urlSuffix = "song/search?api_key=" + APIKey + query.ArtistOrArtistId(search) + parameters.SongSearchString() + parameters.SongBucketString();

            Console.WriteLine(urlSuffix);
            string json = echo.DownloadString(urlSuffix);

            return(json);
        }