Exemple #1
0
        public async Task GetReleaseRelatedTagsTest()
        {
            Client client = new Client(_apiKey);

            var parameters = new RelatedTagParameters
            {
                Id   = 86,
                Tags = new List <string> {
                    "sa", "foreign"
                }
            };

            var result = await client.GetReleaseRelatedTags(parameters);

            Assert.AreNotEqual(null, result);

            Assert.IsTrue(result.Count > 0);
        }
Exemple #2
0
        public async Task GetCategoryRelatedTagsTest()
        {
            Client client = new Client(_apiKey);

            var parameters = new RelatedTagParameters
            {
                Id   = 125,
                Tags = new List <string> {
                    "services", "quarterly"
                }
            };

            var result = await client.GetCategoryRelatedTags(parameters);

            Assert.AreNotEqual(null, result);

            Assert.IsTrue(result.Count > 0);
        }