Crates.io | factorio-mod-api |
lib.rs | factorio-mod-api |
version | 0.3.0 |
source | src |
created_at | 2022-11-09 19:09:09.241325 |
updated_at | 2022-11-26 07:02:53.234292 |
description | A library to access the [Factorio](http://www.factorio.com) [mod portal API](https://wiki.factorio.com/Mod_portal_API). |
homepage | http://github.com/MForster/factorio-rust-tools |
repository | http://github.com/MForster/factorio-rust-tools |
max_upload_size | |
id | 708948 |
size | 19,400 |
A Rust library to access the Factorio mod portal API.
use factorio_mod_api::ModPortalClient;
let client = ModPortalClient::new()?;
let spec = client.get_mod_spec("Warehousing").await?;
println!("{}", spec.created_at);
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.
This tool is intended to be platform-independent, but it's currently only tested on Linux.
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.