Exemplo n.º 1
0
        public async Task <string> GetArtworkUrl(ApiClient client, string artistName, string albumTitle)
        {
            var getInfoMethod = new GetInfoMethod(client, artistName, albumTitle);
            var albumInfo     = await getInfoMethod.GetResultAsync();

            return(albumInfo.ArtworkUrl);
        }
Exemplo n.º 2
0
        public async Task <ArtistInfo> GetInfo(ApiClient client, string artistName)
        {
            var getInfoMethod = new GetInfoMethod(client, artistName);

            return(await getInfoMethod.GetResultAsync());
        }