Releases: Galarzaa90/tibia.py
Releases · Galarzaa90/tibia.py
v5.7.1
Changes
- Handle parsing a world that has never been online.
v6.3.0
v5.7.0
Changes
- Added Oceania location.
v6.2.0
Changes
- Add support for parsing the fansites section.
v6.1.0
Changes
- Add revealed gems to auction details.
- Fixed
get_highscoresnot handling null values in parameters. - Fixed house parsing not handing guildhalls properly.
- Fixed houses missing "paid until" date.
v6.0.4
Changes
- Fixed pypi packaging issue.
v6.0.3
Changes
- Fixed bazaar filters not being set correctly for some values.
v6.0.2
Changes
- Fixed transfer recipient not being set in houses.
- Fixed highest bid and time left not being set in houses in the houses section.
v6.0.1
Changes
- Fix spells not sold in any cities (revelation perks) having a single "cities" entry
noneinstead of being empty.
v6.0.0
Changes
- 🚨 Python 3.7 and below no longer supported.
- All models are now Pydantic models, for better data validation, serialization and deserialization.
- Models no longer contain methods to parse content, these have been moved to dedicated parser classes.
- 🚨 The location of models inside the module changed, so all imports need to be modified.
- Model changes:
Character:account_statusfield replaced withis_premium.tradedfield renamed tois_traded.deletedproperty renamed tois_scheduled_for_deletion.hiddenproperty renamed tois_hidden.
Achievement:secretfield renamed tois_secret
CharacterHouse:ownerfield removed.statusfield removed.typefield removed.paid_until_datefield renamed tppaid_until.- Removed
owner,statusandtypefromCharacterHouse.
Killer:- Model name renamed to
DeathParticipant. playerfield renamed tois_player.tradedfield renamed tois_traded.
- Model name renamed to
Death:by_playerproperty renamed tois_by_playernamefield removed.
OtherCharacter:onlinefield renamed tois_online.deletedfield renamed tois_deleted.tradedfield renamed tois_traded.mainfield renamed tois_main.
WorldEntry/World:onlinefield renamed tois_onlinebattleye_datefield renamed tobattleye_sincepremium_onlyfield renamed tois_premium_onlyexperimentalfield renamed tois_experimentalbattleye_protectedproperty renamed tois_battleye_protected
OnlineCharacter:worldfield removed.
SpellsSection:premiumfield renamed tois_premium
SpellEntry/Spell:premiumfield renamed tois_premium
News/NewsEntry:category_iconfield removed. Can be accessed throughcategory.big_icon_urlandcategory.small_icon_url.datefield renamed topublished_on
NewsArchive:start_datefield renamed tofrom_date.end_datefield renamed toto_date.typesfield is now of typeset.categoriesfield is now of typeset.
NewsCategory(enum)- Added
big_icon_urlandsmall_icon_urlproperties.
- Added
Leaderboard:currentfield renamed tois_current.pagefield renamed tocurrent_page.last_updatefield removed.last_updatedfield added, a datetime of when was the last update.
LeaderboardEntry:namefield might beNoneif characte is deleted.
Highscores:.pagefield renamed tocurrent_page.last_updatedfield is now adatetimeinstead of atimedelta.
GuildMember:joinedfield renamed tojoined_on.onlinefield renamed tois_online.
GuildInvite:datefield renamed toinvited_on.
GuildHouse:paid_until_datefield renamed tppaid_until.ownerfield removed.worldfield removed.statusfield removed.typefield removed.
ForumBoard:threadsfield renamed toentries.pagefield renamed tocurrent_page.section_idfield added.results_countfield added.
ForumThread:postsfield renamed toentries.board_idfield added.section_idfield added.results_countfield added.previous_topic_numbermay beNoneinstead of0.next_topic_numbermay beNoneinstead of0.
LastPost.datefield renamed toposted_on.deletedfield renamed tois_author_deleted.tradedfield renamed tois_author_traded.
CMPostArchive:start_datefield renamed tofrom_dateend_datefield renamed toto_datepagefield renamed tocurrent_pagepostsfield renamed toentries
CMPost:datefield renamed toposted_on
Auctionrenamed toAuctionDetailsand is no longer a subclass ofAuctionEntry.AuctionEntryrenamed toAuction.CharacterBazaar:pagefield renamed tocurrent_page.
BestiaryEntry:completedproperty renamed tois_completed.
- Renamed
DisplayImagetoItemEntry. - Renamed
DisplayMounttoMountEntry. - Renamed
DisplayOutfittoOutfitEntry. - Renamed
DisplayFamiliartoFamiliarEntry. - Renamed
pagetocurrent_page,resultstoresults_count, andfully_fetchedtois_fully_fetchedinItemSummary,Mounts,FamiliarsandOutfits. - Added
thread_starter_deletedtoThreadEntry.
- Renamed
CategorytoHighscoresCategory. - Renamed
BattlEyeTypeFiltertoAuctionBattlEyeFilter. - Renamed
VocationFiltertoHighscoresProfession. - Renamed
BattlEyeHighscoresFiltertoHighscoresBattlEyeType. - Renamed
VocationAuctionFiltertoAuctionVocationFilter. - Renamed
VocationSpellFiltertoSpellVocationFilter. - Renamed
SkillFiltertoAuctionSkillFilter. - Added
ForumSectionmodel and its respective parser, to fetch a list of board entries. - Removed
get_urlclass methods from all models, replaced by functions in the urls package. - Fixed
Characteraccount badges not being parsed properly.