public string SongSearch(Parameters parameters) { string urlSuffix = "song/search?api_key=" + APIKey + parameters.SongSearchString() + parameters.SongBucketString(); string json = echo.DownloadString(urlSuffix); return json; }
public string SongSearch(Parameters parameters) { string urlSuffix = "song/search?api_key=" + APIKey + parameters.SongSearchString() + parameters.SongBucketString(); string json = echo.DownloadString(urlSuffix); return(json); }
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; }
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); }