zikeji / node-hypixel

With thorough IntelliSense support & 100% test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses (and an OpenAPI 3.0 schema!), built-in rate-limit handling, flexible cache support, helper functions, and support for undocumented endpoints.
https://node-hypixel.zikeji.com
MIT License
19 stars 6 forks source link

Added Skyward and Duels stats types #435

Closed Clemintina closed 1 year ago

Clemintina commented 1 year ago

I've added PlayerStatsSkywarsStats and PlayerStatsDuelsStats while trying to maintain your coding style. I've also added a generic PlayerInventoryModel for player inventories.

Both of my interfaces are from a collection of leaderboard player's responses and may not include some older / unused properties. However, this should include all of the most common properties.

zikeji commented 1 year ago

api.ts is actually fully generated by the OpenAPI.yaml file and post-processed by process_output.js. Changes to api.ts would get overridden by this process.