v6.0.0a1
Pre-release
Pre-release
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:
- Removed
worldfromOnlineCharacter. - Removed
category_iconfromNewsEntryandNews. - Added
big_icon_urlandsmall_icon_urltoNewsCategory Leaderboard.pagerenamed tocurrent_page.Highscores.pagerenamed tocurrent_page.- Removed
owner,world,statusandtypefromGuildHouse. - Removed
namefromDeath. - Removed
owner,statusandtypefromCharacterHouse. Auctionrenamed toAuctionDetailsand is no longer a subclass ofAuctionEntry.AuctionEntryrenamed toAuction.CharacterBazaar.pagerenamed tocurrent_page.NewsArchive.categoriesandNewsArchive.typesare now sets instead of lists.Character.account_statusreplaced withis_premium.- Renamed
DisplayImagetoItemEntry. - Renamed
DisplayMounttoMountEntry. - Renamed
DisplayOutfittoOutfitEntry. - Renamed
DisplayFamiliartoFamiliarEntry. - Renamed
pagetocurrent_page,resultstoresults_count, andfully_fetchedtois_fully_fetchedinItemSummary,Mounts,FamiliarsandOutfits. - Renamed
CMPostArchive.pageandCMPostArchive.poststocurrent_pageandentriesrespectively. - Renamed
KillertoDeathParticipant - Renamed
ForumBoard.threadstoentries. - Renamed
ForumThread.poststoentries. - Added
thread_starter_deletedtoThreadEntry. ForumThread.previous_topic_numberandForumThread.next_topic_numbermay beNoneinstead of0.
- Removed
- Renamed
CategorytoHighscoresCategory. - Renamed
BattlEyeTypeFiltertoAuctionBattlEyeFilter. - Renamed
VocationFiltertoHighscoresProfession. - Renamed
BattlEyeHighscoresFiltertoHighscoresBattlEyeType. - Renamed
VocationAuctionFiltertoAuctionVocationFilter. - Renamed
VocationSpellFiltertoSpellVocationFilter. - Renamed
SkillFiltertoAuctionSkillFilter. - Added `ForumSection`` model 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.