Change Log#
Corkus.py follows semantic versioning. Due to ever changing nature of Wynncraft API only the newest version is supported. Please ensure that you are always using the newest version.
3.0.1 (2022/12/02)#
Update documentation front page.
Update documentation guides - Creating a Discord Bot, Quick Start
Other minor documentation fixes.
3.0.0 (2022/12/01)#
We are making changes due to the 2.0.1 API update
which brings some changes around player classes. We have also changed initialization procedure so client constructor doesn’t need to
be called in async context anymore. We are introducing a concept like other async libraries. You now need to call start()
function to initialize the client.
BREAKING
Corkus
initialization procedure have been changed. You now need to callCorkus.start()
to initialize the client.corkus = Corkus(timeout=60) async def main(): await corkus.start() player = await corkus.player.get("MrBartusekXD") print(player.best_character.combat.level) # 102 await corkus.close()
BREAKING Due to recent API changes
Character.name
(formerly:PlayerClass.name
) was removed.BREAKING Ability to pass custom
ClientSession
toCorkus
was removed.BREAKING
Corkus
configuration optionratelimit_enable
andcache_enable
were renamed todisable_ratelimit
anddisable_cache
respectively. Their function were reversed and are both now respectively disabled by default.Deprecated
Player.classes
andPlayer.best_class
were deprecated, usePlayer.characters
andPlayer.best_character
instead. These will now return instancies ofCharacter
which are identical toPlayerClass
excluding thename
property.PlayerClass
was renamed toCharacter
to match new API schema.ClassType
was renamed toCharacterType
to match new API schema.Project now uses
characters
instead ofclasses
in documentation.Default request timeout was changed to
60
seconds.Add support for Python 3.11.
Update dependencies. You can now use
aiohttp 3.8.x
andiso8601 1.x
.Fix
CorkusTimeoutError
returning invalid url.
2.0.0 (2022/06/07)#
BREAKING Due to recent API changes
PlayerStatistics.chests_found
andClassStatistics.chests_found
were removed.BREAKING Value of
ServerType.REGULAR
has been changed fromWC
toREGULAR
.BREAKING
ServerType.YOUTUBE
enum key is now namedServerType.MEDIA
and it’s value has been changed fromYT
toMEDIA
.Add warnings for broken properties in
PlayerSoloRanking
andPlayerOverallRanking
.
1.2.1 (2022/01/20)#
Fix a bug where
CorkusTimeoutError
will be thrown without timeout property when no custom timeout is set (#13)
1.2.0 (2021/12/26)#
Add
get_member()
function toGuild
.Add
best_class <Player.best_class>
property toPlayer
.OnlinePlayers.get_player_server()
andOnlinePlayers.is_player_online()
now acceptMember
as argument.Support Python 3.10
1.1.0 (2021/10/02)#
Add new server type
ServerType.OTHER
toServerType
.Fix
Guild.level
andLeaderboardGuild.level
documentation.Standardize documentation of
Player
andPartialPlayer
properties.Fix
PartialOnlinePlayer
__repr__
1.0.0 (2021/09/09)#
🎉 first release!