PublicAPI Java 4.0
Note: This release does contain breaking changes due to changed packages, and the new HTTP client framework.
New in this release:
- The Core API can now have custom HTTP clients, or "transports" as they are referred to. #399
- There are three transports that can be chosen from which are included in 4.0, or you can create your own. The included transports are Apache HttpClient, Unirest, and Project Reactor #425
- A player-based object has been added when requesting player data, this allows easy access to common data and even some filter options. #260
- A Utility class has been added for GuildLeveling. #254
- Methods for accessing the SkyBlock profiles endpoint have been added. #297
The following methods have been removed/replaced:
HypixelAPI#getWatchdogStats
has been replaced withHypixelAPI#getPunishmentStats
.HypixelAPI#getGameCounts
has been replaced withHypixelAPI#getCounts
.HypixelAPI#getPlayerCount
has been removed, the same data is available inHypixelAPI#getCounts
.HypixelAPI#findGuildByPlayer
has been removed, the guild can be requested directly viaHypixelAPI#getGuildByPlayer
instead.HypixelAPI#findGuildByName
has been removed, the guild can be requested directly viaHypixelAPI#getGuildByName
instead.
Other changes worth noting:
- Now uses the API-Key header for authentication.
- ExampleUtil now supports a system property for easier testing.