2 unstable releases
0.3.0 | Nov 26, 2022 |
---|---|
0.2.0 | Nov 9, 2022 |
#17 in #factorio
25 downloads per month
Used in factorio-cli
19KB
295 lines
Factorio Mod API
A Rust library to access the Factorio mod portal API.
Example invocation
use factorio_mod_api::ModPortalClient;
let client = ModPortalClient::new()?;
let spec = client.get_mod_spec("Warehousing").await?;
println!("{}", spec.created_at);
Status
This is still very much in the prototype phase. The output will be incomplete and have bugs. Please try it out anyway and report any issues that you run into!
See the change log for progress.
Platform support
This tool is intended to be platform-independent, but it's currently only tested on Linux.
Contributing
Contributions are welcome! Feel free to send pull requests, but if you want to make large-scale changes it would make sense to discuss them first.
lib.rs
:
A client for the Factorio mod portal API.
Dependencies
~8–21MB
~296K SLoC