def getCharacterClass(self, server="eu", classSlug='barbarian', locale="en_US"): self.route = '/d3/data/hero/{}'.format(classSlug) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def realmLeaderboard(self, server="eu", realm="archimonde", locale="en_US"): self.route = '/wow/challenge/{}'.format(realm) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def getItem(self, server="eu", itemSlugAndID='corrupted-ashbringer-Unique_Sword_2H_104_x1', locale="en_US"): self.route = '/d3/data/item/{}'.format(itemSlugAndID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def characterProfile(self, server="eu", realm="archimonde", characterName="Protòtype", locale="en_US"): self.route = self.route.format(realm, characterName) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def getApiSkill(self, server="eu", classSlug='barbarian', skillSlug='bash', locale="en_US"): self.route = '/d3/data/hero/{}/skill/{}'.format(classSlug, skillSlug) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def getApiDetailedHeroItems(self, server="eu", account="Prototype#2971", hero="109407264", locale="en_US"): self.route = '{}/items'.format(self.getRouteHero(account, hero)) return Fetcher.fetchData( server=server, locale=locale, route=self.route)
def matchHistory(self, server="eu", accID=20443743, region=1, name="Prototype", locale="en_US"): self.route = self.getRoute(accID, region, name) + 'matches' return Fetcher.fetchData( server=server, locale=locale, route=self.route)
def getApiHero(self, server="eu", account="Prototype#2971", hero="109407264", locale="en_US"): return Fetcher.fetchData( server=server, locale=locale, route=self.getRouteHero(account, hero))
def profile(self, server="eu", accID=20443743, region=1, name="Prototype", locale="en_US"): return Fetcher.fetchData( server=server, locale=locale, route=self.getRoute(accID, region, name))
def getApiAccount(self, server="eu", account="Prototype#2971", locale="en_US"): self.route = '/d3/profile/{}%23{}/'.format( account.split("#")[0], account.split("#")[1]) return Fetcher.fetchData( server=server, locale=locale, route=self.route)
def mounts(self, server="eu", realm="archimonde", characterName="Protòtype", locale="en_US"): self.route = self.route.format(realm, characterName) return Fetcher.fetchData(server=server, locale=locale, route=self.route, params='fields=mounts')
def challenge(self, server="eu", realm="archimonde", guildName="Jardiland", locale="en_US"): self.route = self.route.format(realm, guildName) return Fetcher.fetchData( server=server, locale=locale, route=self.route, params='fields=challenge')
def itemSet(self, server="eu", setID=1060, locale="en_US"): self.route = '/wow/item/set/{}'.format(setID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def recipe(self, server="eu", recipeID=33994, locale="en_US"): self.route = '/wow/recipe/{}'.format(recipeID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def achievement(self, server="eu", achievementID="2144", locale="en_US"): self.route = '/wow/achievement/{}'.format(achievementID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def masterList(self, server="eu", locale="en_US"): self.route = '/wow/mount/' return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def leaderboards(self, server="eu", bracket="2v2", locale="en_US"): self.route = '/wow/leaderboard/{}'.format(bracket) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def getAct(self, server="eu", actID=1, locale="en_US"): self.route = '/d3/data/act/{}'.format(actID) return Fetcher.fetchData( server=server, locale=locale, route=self.route)
def getActIndex(self, server="eu", locale="en_US"): self.route = '/d3/data/act' return Fetcher.fetchData( server=server, locale=locale, route=self.route)
def boss(self, server="eu", bossID="24723", locale="en_US"): self.route = '/wow/boss/{}'.format(bossID) return Fetcher.fetchData( server=server, locale=locale, route=self.route)
def quest(self, server="eu", questID=13146, locale="en_US"): self.route = '/wow/quest/{}'.format(questID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def item(self, server="eu", itemID=18803, locale="en_US"): self.route = '/wow/item/{}'.format(itemID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def realmStatus(self, server="eu", locale="en_US"): self.route = '/wow/realm/status' return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def rewards(self, server="eu", locale="en_US"): self.route = '/sc2/data/rewards' return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def ladder(self, server="eu", ladderID="655", locale="en_US"): self.route = '/sc2/ladder/{}'.format(ladderID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def achievements(self, server="eu", locale="en_US"): self.route = '/sc2/data/achievements' return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def masterList(self, server="eu", locale="en_US"): return Fetcher.fetchData( server=server, locale=locale, route='/wow/boss/')
def getItemType(self, server="eu", itemSlug='sword2h', locale="en_US"): self.route = '/d3/data/item-type/{}'.format(itemSlug) return Fetcher.fetchData( server=server, locale=locale, route=self.route)
def spell(self, server="eu", spellID=8056, locale="en_US"): self.route = '/wow/spell/{}'.format(spellID) return Fetcher.fetchData(server=server, locale=locale, route=self.route)
def getItemTypeIndex(self, server="eu", locale="en_US"): self.route = '/d3/data/item-type' return Fetcher.fetchData( server=server, locale=locale, route=self.route)