Skip to content

PublicAPI Java 4.0

Compare
Choose a tag to compare
@ConnorLinfoot ConnorLinfoot released this 26 Jul 12:57
· 37 commits to master since this release
21b016b

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 with HypixelAPI#getPunishmentStats.
  • HypixelAPI#getGameCounts has been replaced with HypixelAPI#getCounts.
  • HypixelAPI#getPlayerCount has been removed, the same data is available in HypixelAPI#getCounts.
  • HypixelAPI#findGuildByPlayer has been removed, the guild can be requested directly via HypixelAPI#getGuildByPlayer instead.
  • HypixelAPI#findGuildByName has been removed, the guild can be requested directly via HypixelAPI#getGuildByName instead.

Other changes worth noting:

  • Now uses the API-Key header for authentication.
  • ExampleUtil now supports a system property for easier testing.