UMANTHIR

JavaScript / TypeScript

Resources

Community

MethodReturns
characters.get(name)Character
highscores.list({ world, category, vocation, protection, types, page })HighscorePage
highscores.character(name, { world, category, vocation, protection, types })RankHit
worlds.list()WorldList
worlds.get(world)WorldDetail
drome.rotations()Rotations
drome.rotations(world, page?)DromeRank
killStatistics.get(world)KillStatistics
fansites.list()Fansites
guilds.list(world)GuildList
guilds.get(name)GuildDetail
polls.list({ page })Polls
houses.list(world, town, { state, type, order })HouseList
houses.get(world, houseId)HouseDetail
ts
const page = await client.highscores.list({
  world: "Antica",
  category: "magiclevel",
  vocation: "sorcerers",
});
const houses = await client.houses.list("Antica", "Thais", { state: "auctioned" });

Library

MethodReturns
library.achievements({ grade })AchievementList
library.boostableBosses()Bosses
library.creatures({ creature_race })Creatures
library.experienceTable()ExperienceTable
library.maps({ region })MapList
library.spells({ spell })SpellList
library.worldQuests({ worldquest })WorldQuestList

Tools

MethodReturns
online.list(worlds, { fields, ifNoneMatch }){ notModified, etag, data: OnlineBatch }
online.character(name)Online
tools.shareExperience(level | levels[])ShareExperience
tools.vocationStatus(vocation, level)VocationStatus
tools.rawSkills({ vocation, sword, magic, loyalty, ... })RawSkills
tools.exerciseWeapons(charges)ExerciseTime
tools.experienceForLevel(level)LevelExperience
tools.levelForExperience(experience)ExperienceStatus
tools.experienceGoal(targetLevel, { level } | { experience })ExperienceGoal
tools.splitHunt(analyzerText)HuntSplit

online.list reads up to 100 worlds in one call and supports ETags: an unchanged list answers notModified: true and does not use quota.

ts
let etag: string | undefined;
const res = await client.online.list(["Antica", "Yonabra"], { ifNoneMatch: etag });
if (!res.notModified) console.log(res.data.worlds);
etag = res.etag;

levelForExperience and experienceGoal accept a bigint for experience above 2^53. splitHunt takes the text copied from the Party Hunt Analyzer; it is sent once (never retried) and never logged.

Wiki

Data from TibiaWiki BR (texts in Portuguese).

MethodReturns
wiki.rashidLocation()RashidLocation
wiki.categories()WikiCategoryList
wiki.list(category)WikiItemList
wiki.get(category, name)WikiItem
ts
const axe = await client.wiki.get("axes", "hellforged axe");

Next: Errors.

Cookies

Session, language and theme use necessary cookies and stay on. Usage tagging, such as visit analytics or advertising, starts only if you allow it.

Manage cookies

Session, language and theme use necessary cookies and stay on. Usage tagging, such as visit analytics or advertising, starts only if you allow it.