TibiaKtApi

interface TibiaKtApi(source)

Inheritors

Functions

Link copied to clipboard
abstract suspend fun fetchAuction(auctionId: Int, skipDetails: Boolean = false, fetchItems: Boolean = false, fetchOutfits: Boolean = false, fetchMounts: Boolean = false): TibiaResponse<Auction?>

Fetch an auction from Tibia.com.

Link copied to clipboard
abstract suspend fun fetchAuctionDetailsPage(auctionId: Int, type: AuctionPagesType, page: Int): TimedResult<AjaxResponse>

Fetch a single page from the auction pagination endpoint.

Link copied to clipboard
abstract suspend fun fetchBazaar(type: BazaarType, filters: BazaarFilters? = null, page: Int = 1): TibiaResponse<CharacterBazaar>

Fetch the character bazaar.

Link copied to clipboard

Fetch the boosted boss of the day as well as the list of bosstable bosses from Tibia.com.

Link copied to clipboard
abstract suspend fun fetchCharacter(name: String): TibiaResponse<CharacterInfo?>

Fetch a character.

Link copied to clipboard
abstract suspend fun fetchCMPostArchive(startOn: LocalDate, endOn: LocalDate, page: Int = 1): TibiaResponse<CMPostArchive>

Fetch CM posts between two dates.

Link copied to clipboard

Fetch the creatures section, containing the boosted creature.

Link copied to clipboard

Fetch the events schedule for the current month.

abstract suspend fun fetchEventsSchedule(yearMonth: YearMonth): TibiaResponse<EventsSchedule>

Fetch the events schedule for a specific year and month.

Link copied to clipboard
abstract suspend fun fetchForumAnnouncement(announcementId: Int): TibiaResponse<ForumAnnouncement?>

Fetches a thread from the Tibia.com forum.

Link copied to clipboard
abstract suspend fun fetchForumBoard(boardId: Int, page: Int = 1, threadAge: Int? = null): TibiaResponse<ForumBoard?>

Fetches a board from the Tibia.com forum.

Link copied to clipboard
abstract suspend fun fetchForumPost(postId: Int): TibiaResponse<ForumThread?>

Fetches a forum thread containing the specified post.

Link copied to clipboard

Fetches a specific forum section.

abstract suspend fun fetchForumSection(sectionId: Int): TibiaResponse<ForumSection?>

Fetches a forum section by its internal sectionId.

Link copied to clipboard
abstract suspend fun fetchForumThread(threadId: Int, page: Int = 1): TibiaResponse<ForumThread?>

Fetches a forum thread from Tibia.com.

Link copied to clipboard
abstract suspend fun fetchGuild(name: String): TibiaResponse<Guild?>

Fetch a guild by its name.

Link copied to clipboard
abstract suspend fun fetchHighscoresPage(world: String?, category: HighscoresCategory, vocation: HighscoresProfession = HighscoresProfession.ALL, page: Int = 1, battlEyeType: HighscoresBattlEyeType = HighscoresBattlEyeType.ANY_WORLD, pvpTypes: Set<PvpType>? = null): TibiaResponse<Highscores?>

Fetch a page of the highscores.

Link copied to clipboard
abstract suspend fun fetchHouse(houseId: Int, world: String): TibiaResponse<House?>

Fetch a house by its houseId in a specific world.

Link copied to clipboard
abstract suspend fun fetchHousesSection(world: String, town: String, type: HouseType? = null, status: HouseStatus? = null, order: HouseOrder? = null): TibiaResponse<HousesSection?>

Fetch the houses section for a world and town.

Link copied to clipboard
abstract suspend fun fetchKillStatistics(world: String): TibiaResponse<KillStatistics?>

Fetch the kill statistics for a world.

Link copied to clipboard
abstract suspend fun fetchLeaderboard(world: String, rotation: Int? = null, page: Int = 1): TibiaResponse<Leaderboard?>

Fetches the Tibia Drome leaderboards for a world.

Link copied to clipboard
abstract suspend fun fetchNewsArchive(startAt: LocalDate, endAt: LocalDate, categories: Set<NewsCategory>? = null, types: Set<NewsType>? = null): TibiaResponse<NewsArchive>

Fetch the news for a given interval.

Link copied to clipboard
abstract suspend fun fetchNewsArticleById(newsId: Int): TibiaResponse<NewsArticle?>

Fetch a specific news article by its newsId.

Link copied to clipboard
abstract suspend fun fetchWorld(name: String): TibiaResponse<World?>

Fetch a world's information.

Link copied to clipboard
abstract suspend fun fetchWorldGuilds(world: String): TibiaResponse<GuildsSection?>

Fetch active and in formation guilds in a world.

Link copied to clipboard

Fetch the world overview, containing the list of worlds.