Ejemplo n.º 1
0
        public async Task DiscogsAgentGetAlbumById()
        {
            DiscogsAgent agent = new DiscogsAgent(Secret.DiscogsAuth);

            Assert.IsNotNull(agent, "Discogs agent is null");

            DiscogsAlbum album = await agent.GetMasterAlbumById(AlbumId);

            Assert.IsNotNull(album, "DiscogsAlbum is null");

            DiscogsAlbum release = await agent.GetReleaseAlbumById("1231873");

            Assert.IsNotNull(release, "DiscogsAlbum is null");
        }