mirror of
https://github.com/tonogram/hypixel-nim
synced 2026-01-14 19:51:43 +00:00
No description
| src | ||
| tests | ||
| .gitignore | ||
| hypixel.nimble | ||
| LICENSE | ||
| README.md | ||
A pure-Nim interface for the Hypixel API.
The Friends and Guilds APIs are more or less complete. The Player API still needs work, though.
I think I've alleviated crashes as much as I can, but I'm not making any promises.
However, instead of crashing, the API will either return the type's default value or an empty Option.
This headache is because the Hypixel API was designed by monkeys on typewriters, and any given field may or may not exist, may have a duplicate somewhere else, may exist under a completely different name, or so forth. It's miserable, but a default value is better than a crash.
PRs welcome!