v5.0.0
Changes
- Added parsing for Tibia Drome leaderboards, new
Leaderboardclass.- Auxiliary classes
LeaderboardEntryandLeaderboardRotationwere added as well. - New
Clientmethod:fetch_leaderboards.
- Auxiliary classes
- Added parsing for Spells library, new
SpellsSectionclass.- Auxiliary classes
SpellandSpellEntry. - New
Clientmethods:fetch_spellandfetch_spells
- Auxiliary classes
- Fix last page of highscores having
0as page value. - Using the
Clientclass, you can now fetch and parse content from the test version of www.tibia.com when available.- Note that if the test website has changes, parsing might not be possible.
- Internal URL attributes might still point to the regular website.
- New
HousesSectionclass, including the house filtering attributes. - New
NewsArchiveclass, including the news filtering attributes. - New
GuildsSectionclass, to replace the lists ofGuildEntry - Many "ListedObject" classes were renamed to "ObjectEntry", for details check the breaking changes below.
- Fixed bug with other characters not being parsed.
- Added
tradedattribute toLastPostclass. - Added
thread_starter_tradedattribute toThreadEntry
Breaking Changes:
- Python 3.7 or higher is now required.
- House classes no longer have
get_list_urlandlist_from_contentmethods. Client.fetch_world_housesnow returns aHousesSectioninstance in its data attribute, instead of a list ofListedHouses.ListedHouse.highest_bidattribute now may beNoneif the house's auction has not yet started.ListedHouseclass renamed toHouseEntry.- Removed deprecated property
AuctionFilters.item. Client.fetch_news_archive,Client.fetch_recent_newsnow returns an instance ofNewsArchivein thedataattribute.ListedNewsclass renamed toNewsEntry.NewsandNewsEntryno longer have aget_list_urlmethod.ListedBoardclass renamed toBoardEntry.ListedThreadclass renamed toThreadEntry.ListedAnnouncementclass renamed toAnnouncementEntry.ListedWorldclass renamed toWorldEntry.ListedAuctionclass renamed toAuctionEntry.AuctionDetailsclass renamed toAuction.ListedGuildclass renamed toGuildEntry.ListedTournamentclass renamed toTournamentEntry.Creatureclass renamed toCreatureEntry.CreatureDetailclass renamed toCreature.GuildandGuildEntryclass no longer have aget_list_urlmethod.- Renamed
begin_dateparameter tostart_dateinfetch_news_archive. - Renamed
raceattribute ofCreatureEntryandCreaturetoidentifier, method parameters renamed as well. CreaturesSection.from_boosted_creature_headerrenamed toCreaturesSection.boosted_creature_from_header.