コード例 #1
0
        public async Task GetAlbumsTest()
        {
            var albums = await this.Api.Album.GetAlbums(
                SpotifyUri.MakeList(
                    "spotify:album:44tJAQ21VUkgwjRDbNeJtB",
                    "spotify:album:1JG04tRkcORA9RP3p06oGp"));

            Assert.Equal(2, albums.Count);
            Assert.True(albums[0].Name == "Funky Freddy");
            Assert.True(albums[1].Name == "Palmas");
        }