v5.0.0
Changes
- Added parsing for Tibia Drome leaderboards, new
Leaderboard
class.- Auxiliary classes
LeaderboardEntry
andLeaderboardRotation
were added as well. - New
Client
method:fetch_leaderboards
.
- Auxiliary classes
- Added parsing for Spells library, new
SpellsSection
class.- Auxiliary classes
Spell
andSpellEntry
. - New
Client
methods:fetch_spell
andfetch_spells
- Auxiliary classes
- Fix last page of highscores having
0
as page value. - Using the
Client
class, 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
HousesSection
class, including the house filtering attributes. - New
NewsArchive
class, including the news filtering attributes. - New
GuildsSection
class, 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
traded
attribute toLastPost
class. - Added
thread_starter_traded
attribute toThreadEntry
Breaking Changes:
- Python 3.7 or higher is now required.
- House classes no longer have
get_list_url
andlist_from_content
methods. Client.fetch_world_houses
now returns aHousesSection
instance in its data attribute, instead of a list ofListedHouses
.ListedHouse.highest_bid
attribute now may beNone
if the house's auction has not yet started.ListedHouse
class renamed toHouseEntry
.- Removed deprecated property
AuctionFilters.item
. Client.fetch_news_archive
,Client.fetch_recent_news
now returns an instance ofNewsArchive
in thedata
attribute.ListedNews
class renamed toNewsEntry
.News
andNewsEntry
no longer have aget_list_url
method.ListedBoard
class renamed toBoardEntry
.ListedThread
class renamed toThreadEntry
.ListedAnnouncement
class renamed toAnnouncementEntry
.ListedWorld
class renamed toWorldEntry
.ListedAuction
class renamed toAuctionEntry
.AuctionDetails
class renamed toAuction
.ListedGuild
class renamed toGuildEntry
.ListedTournament
class renamed toTournamentEntry
.Creature
class renamed toCreatureEntry
.CreatureDetail
class renamed toCreature
.Guild
andGuildEntry
class no longer have aget_list_url
method.- Renamed
begin_date
parameter tostart_date
infetch_news_archive
. - Renamed
race
attribute ofCreatureEntry
andCreature
toidentifier
, method parameters renamed as well. CreaturesSection.from_boosted_creature_header
renamed toCreaturesSection.boosted_creature_from_header
.