Ejemplo n.º 1
0
        public async Task TestBrowseArtistTopTracks()
        {
            const string daftPunkId = "music.C61C0000-0200-11DB-89CA-0019B92A3933";

            // Get Daft Punk's top 5 tracks in Germany
            ContentResponse browseResults =
                await
                Client.SubBrowseAsync(daftPunkId, ContentSource.Catalog, BrowseItemType.Artist,
                                      ExtraDetails.TopTracks, maxItems : 5, country : "DE").Log();

            Assert.IsNotNull(browseResults, "The browse response should not be null");
            AssertPaginatedListIsValid(browseResults.Artists.Items.First().TopTracks, 5, 100);
        }