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.1.0 (2024/04/29)#
Corkus.py is no longer maintained. For more information please see: README.
Add
DeprecationWarningto module__init__Add deprecation notices to
README.MDanddocs/index.rst
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
Corkusinitialization 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
ClientSessiontoCorkuswas removed.BREAKING
Corkusconfiguration optionratelimit_enableandcache_enablewere renamed todisable_ratelimitanddisable_cacherespectively. Their function were reversed and are both now respectively disabled by default.Deprecated
Player.classesandPlayer.best_classwere deprecated, usePlayer.charactersandPlayer.best_characterinstead. These will now return instancies ofCharacterwhich are identical toPlayerClassexcluding thenameproperty.PlayerClasswas renamed toCharacterto match new API schema.ClassTypewas renamed toCharacterTypeto match new API schema.Project now uses
charactersinstead ofclassesin documentation.Default request timeout was changed to
60seconds.Add support for Python 3.11.
Update dependencies. You can now use
aiohttp 3.8.xandiso8601 1.x.Fix
CorkusTimeoutErrorreturning invalid url.
2.0.0 (2022/06/07)#
BREAKING Due to recent API changes
PlayerStatistics.chests_foundandClassStatistics.chests_foundwere removed.BREAKING Value of
ServerType.REGULARhas been changed fromWCtoREGULAR.BREAKING
ServerType.YOUTUBEenum key is now namedServerType.MEDIAand it’s value has been changed fromYTtoMEDIA.Add warnings for broken properties in
PlayerSoloRankingandPlayerOverallRanking.
1.2.1 (2022/01/20)#
Fix a bug where
CorkusTimeoutErrorwill 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 acceptMemberas argument.Support Python 3.10
1.1.0 (2021/10/02)#
Add new server type
ServerType.OTHERtoServerType.Fix
Guild.levelandLeaderboardGuild.leveldocumentation.Standardize documentation of
PlayerandPartialPlayerproperties.Fix
PartialOnlinePlayer__repr__
1.0.0 (2021/09/09)#
🎉 first release!