The kromer-api crate provides a strongly typed interface for interacting with the Kromer2 server. It omits backwards compatibility parts of the API, such as those that deal with Krist mining.
This crate isn't on crates.io, and I don't plan on publishing it, so to begin using it add the following to your Cargo.toml:
[dependencies]
kromer-api = { git = "https://github.com/Laincy/kromer-api" }Everything should be pretty well documented. For more info checkout the docs locally by running the following:
cargo doc --open --all-featuresThis crate provides a full suite of Kromer2 HTTP endpoint, as well as websockets. The lookup endpoints will be implemented once Kromer2's support is improved.