public async void GetPvpSeasonsIndexAsync_Gets_PvpSeasonsIndex() { IPvpSeasonApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/pvp-season/index?namespace=dynamic-us&locale=en_US", responseContent: Resources.PvpSeasonsIndexResponse); RequestResult<PvpSeasonsIndex> result = await warcraftClient.GetPvpSeasonsIndexAsync("dynamic-us"); Assert.NotNull(result.Value); }
public async Task GetCharacterPvpSummaryAsync_Gets_CharacterPvpSummary() { ICharacterPvpApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/profile/wow/character/malganis/zenli/pvp-summary?namespace=profile-us&locale=en_US", responseContent: Resources.CharacterPvpSummaryResponse); RequestResult <CharacterPvpSummary> result = await warcraftClient.GetCharacterPvpSummaryAsync("malganis", "zenli", "profile-us"); Assert.NotNull(result.Value); }
public async Task GetRecipeAsync_Gets_Recipe_WithFactionSpecificItems() { IProfessionApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/recipe/38729?namespace=static-us&locale=en_US", responseContent: Resources.RecipeWithFactionSpecificItemsResponse); RequestResult <Recipe> result = await warcraftClient.GetRecipeAsync(38729, "static-us"); Assert.NotNull(result.Value); }
public async Task GetSkillTierAsync_Gets_SkillTier() { IProfessionApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/profession/164/skill-tier/2477?namespace=static-us&locale=en_US", responseContent: Resources.SkillTierResponse); RequestResult <SkillTier> result = await warcraftClient.GetSkillTierAsync(164, 2477, "static-us"); Assert.NotNull(result.Value); }
public async Task GetCharacterEquipmentSummaryAsync_Gets_CharacterEquipmentSummary() { ICharacterEquipmentApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/profile/wow/character/norgannon/drinian/equipment?namespace=profile-us&locale=en_US", responseContent: Resources.CharacterEquipmentSummaryResponse); RequestResult <CharacterEquipmentSummary> result = await warcraftClient.GetCharacterEquipmentSummaryAsync("norgannon", "drinian", "profile-us"); Assert.NotNull(result.Value); }
public async Task GetCreatureFamiliesIndexAsync_Gets_CreatureFamiliesIndex() { ICreatureApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/creature-family/index?namespace=static-us&locale=en_US", responseContent: Resources.CreatureFamiliesIndexResponse); RequestResult <CreatureFamiliesIndex> result = await warcraftClient.GetCreatureFamiliesIndexAsync("static-us"); Assert.NotNull(result.Value); }
public async Task GetSpellAsync_Gets_Spell() { ISpellApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/spell/196607?namespace=static-us&locale=en_US", responseContent: Resources.SpellResponse); RequestResult <Spell> result = await warcraftClient.GetSpellAsync(196607, "static-us"); Assert.NotNull(result.Value); }
public async void GetPlayableSpecializationMediaAsync_Gets_PlayableSpecializationMedia() { IPlayableSpecializationApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/playable-specialization/262?namespace=static-us&locale=en_US", responseContent: Resources.PlayableSpecializationMediaResponse); RequestResult <PlayableSpecializationMedia> result = await warcraftClient.GetPlayableSpecializationMediaAsync(262, "static-us"); Assert.NotNull(result.Value); }
public async void GetCharacterPvpBracketStatisticsAsync_Gets_PvpBracketStatistics() { ICharacterPvpApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/profile/wow/character/malganis/zenli/pvp-bracket/3v3?namespace=profile-us&locale=en_US", responseContent: Resources.CharacterPvpBracketStatisticsResponse); RequestResult <CharacterPvpBracketStatistics> result = await warcraftClient.GetCharacterPvpBracketStatisticsAsync("malganis", "zenli", "3v3", "profile-us"); Assert.NotNull(result.Value); }
public async void GetPetAbilityMediaAsync_Gets_PetAbilityMedia() { IPetApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/pet-ability/110?namespace=static-us&locale=en_US", responseContent: Resources.PetAbilityMediaResponse); RequestResult <PetAbilityMedia> result = await warcraftClient.GetPetAbilityMediaAsync(110, "static-us"); Assert.NotNull(result.Value); }
public async Task GetPvpTierMediaAsync_Gets_PvpTierMedia() { IPvpTierApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/pvp-tier/1?namespace=static-us&locale=en_US", responseContent: Resources.PvpTierMediaResponse); RequestResult <PvpTierMedia> result = await warcraftClient.GetPvpTierMediaAsync(1, "static-us"); Assert.NotNull(result.Value); }
public async Task GetJournalInstanceMediaAsync_Gets_InstanceMedia() { IJournalApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/journal-instance/63?namespace=static-us&locale=en_US", responseContent: Resources.JournalInstanceMediaResponse); RequestResult <JournalInstanceMedia> result = await warcraftClient.GetJournalInstanceMediaAsync(63, "static-us"); Assert.NotNull(result.Value); }
public async Task GetJournalEncounterAsync_Gets_Encounter() { IJournalApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/journal-encounter/89?namespace=static-us&locale=en_US", responseContent: Resources.JournalEncounterResponse); RequestResult <Encounter> result = await warcraftClient.GetJournalEncounterAsync(89, "static-us"); Assert.NotNull(result.Value); }
public async Task GetJournalExpansionAsync_Gets_JournalExpansion() { IJournalApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/journal-expansion/68?namespace=static-us&locale=en_US", responseContent: Resources.JournalExpansionResponse); RequestResult <JournalExpansion> result = await warcraftClient.GetJournalExpansionAsync(68, "static-us"); Assert.NotNull(result.Value); }
public async Task GetAccountProfileSummaryAsync_Gets_AccountProfileSummary() { IAccountProfileApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/profile/user/wow?namespace=profile-us&locale=en_US", responseContent: Resources.AccountProfileSummaryResponse); RequestResult <AccountProfileSummary> result = await warcraftClient.GetAccountProfileSummaryAsync("ACCESS-TOKEN-GOES-HERE", "profile-us"); Assert.NotNull(result.Value); }
public async Task GetAchievementCategoriesIndexAsync_Gets_AchievementCategoriesIndex() { IAchievementApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/achievement-category/index?namespace=static-us&locale=en_US", responseContent: Resources.AchievementCategoriesIndexResponse); RequestResult <AchievementCategoriesIndex> result = await warcraftClient.GetAchievementCategoriesIndexAsync("static-us"); Assert.NotNull(result.Value); }
public async void GetAuctionsAsync_Gets_Auctions() { IAuctionHouseApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/connected-realm/1146/auctions?namespace=dynamic-us&locale=en_US", responseContent: Resources.AuctionsResponse); RequestResult <AuctionsIndex> result = await warcraftClient.GetAuctionsAsync(1146, "dynamic-us"); Assert.NotNull(result.Value); }
public async Task GetMythicKeystoneSeasonAsync_Gets_MythicKeystoneSeason() { IMythicKeystoneDungeonApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/mythic-keystone/season/1?namespace=dynamic-us&locale=en_US", responseContent: Resources.MythicKeystoneSeasonResponse); RequestResult <MythicKeystoneSeason> result = await warcraftClient.GetMythicKeystoneSeasonAsync(1, "dynamic-us"); Assert.NotNull(result.Value); }
public async Task GetCharacterMythicKeystoneProfileIndexAsync_Gets_CharacterMythicKeystoneProfileIndex() { ICharacterMythicKeystoneProfileApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/profile/wow/character/zuljin/volladin/mythic-keystone-profile?namespace=profile-us&locale=en_US", responseContent: Resources.CharacterMythicKeystoneProfileIndexResponse); RequestResult <CharacterMythicKeystoneProfileIndex> result = await warcraftClient.GetCharacterMythicKeystoneProfileIndexAsync("zuljin", "volladin", "profile-us"); Assert.NotNull(result.Value); }
public async Task GetMythicKeystoneAffixMediaAsync_Gets_MythicKeystoneAffixMedia() { IMythicKeystoneAffixApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/keystone-affix/1?namespace=static-us&locale=en_US", responseContent: Resources.MythicKeystoneAffixMediaResponse); RequestResult <MythicKeystoneAffixMedia> result = await warcraftClient.GetMythicKeystoneAffixMediaAsync(1, "static-us"); Assert.NotNull(result.Value); }
public async Task GetCreatureDisplayMediaAsync_Gets_CreatureDisplayMedia() { ICreatureApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/creature-display/30221?namespace=static-us&locale=en_US", responseContent: Resources.CreatureDisplayMediaResponse); RequestResult <CreatureDisplayMedia> result = await warcraftClient.GetCreatureDisplayMediaAsync(30221, "static-us"); Assert.NotNull(result.Value); }
public async Task GetQuestTypeAsync_Gets_QuestType() { IQuestApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/quest/type/1?namespace=static-us&locale=en_US", responseContent: Resources.QuestTypeResponse); RequestResult <QuestType> result = await warcraftClient.GetQuestTypeAsync(1, "static-us"); Assert.NotNull(result.Value); }
public async Task GetPvpLeaderboardAsync_Gets_PvpLeaderboard() { IPvpSeasonApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/pvp-season/27/pvp-leaderboard/3v3?namespace=dynamic-us&locale=en_US", responseContent: Resources.PvpLeaderboardResponse); RequestResult <PvpLeaderboard> result = await warcraftClient.GetPvpLeaderboardAsync(27, "3v3", "dynamic-us"); Assert.NotNull(result.Value); }
public async Task GetReputationTiersAsync_Gets_ReputationTiers() { IReputationsApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/reputation-tiers/2?namespace=static-us&locale=en_US", responseContent: Resources.ReputationTiersResponse); RequestResult <ReputationTiers> result = await warcraftClient.GetReputationTiersAsync(2, "static-us"); Assert.NotNull(result.Value); }
public async Task GetCharacterSoulbindsAsync_Gets_CharacterSoulbinds() { ICharacterSoulbindsApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/profile/wow/character/ravencrest/drizzy/soulbinds?namespace=profile-us&locale=en_US", responseContent: Resources.CharacterSoulbindsResponse); RequestResult <CharacterSoulbinds> result = await warcraftClient.GetCharacterSoulbindsAsync("ravencrest", "drizzy", "profile-us"); Assert.NotNull(result.Value); }
public async Task GetPlayableRaceAsync_Gets_PlayableRace() { IPlayableRaceApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/playable-race/2?namespace=static-us&locale=en_US", responseContent: Resources.PlayableRaceResponse); RequestResult <PlayableRace> result = await warcraftClient.GetPlayableRaceAsync(2, "static-us"); Assert.NotNull(result.Value); }
public async Task GetProfessionsIndexAsync_Gets_ProfessionsIndex() { IProfessionApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/profession/index?namespace=static-us&locale=en_US", responseContent: Resources.ProfessionsIndexResponse); RequestResult <ProfessionsIndex> result = await warcraftClient.GetProfessionsIndexAsync("static-us"); Assert.NotNull(result.Value); }
public async void GetMythicKeystoneLeaderboardsIndexAsync_Gets_MythicKeystoneLeaderboardsIndex() { IMythicKeystoneAffixApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/keystone-affix/index?namespace=static-us&locale=en_US", responseContent: Resources.MythicKeystoneAffixesIndexResponse); RequestResult <MythicKeystoneAffixesIndex> result = await warcraftClient.GetMythicKeystoneAffixesIndexAsync("static-us"); Assert.NotNull(result.Value); }
public async Task GetRecipeMediaAsync_Gets_RecipeMedia() { IProfessionApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/recipe/1631?namespace=static-us&locale=en_US", responseContent: Resources.RecipeMediaResponse); RequestResult <RecipeMedia> result = await warcraftClient.GetRecipeMediaAsync(1631, "static-us"); Assert.NotNull(result.Value); }
public async Task GetAchievementMediaAsync_Gets_AchievementMedia() { IAchievementApi warcraftClient = ClientFactory.BuildMockClient( requestUri: "https://us.api.blizzard.com/data/wow/media/achievement/6?namespace=static-us&locale=en_US", responseContent: Resources.AchievementMediaResponse); RequestResult <AchievementMedia> result = await warcraftClient.GetAchievementMediaAsync(6, "static-us"); Assert.NotNull(result.Value); }