| Crates.io | octopust |
| lib.rs | octopust |
| version | 0.4.0 |
| created_at | 2025-06-19 09:46:30.743833+00 |
| updated_at | 2025-07-22 13:13:50.386192+00 |
| description | A high-performance, idiomatic Rust client for the Octopus Energy API. |
| homepage | https://github.com/ishantanu/octopust |
| repository | https://github.com/ishantanu/octopust |
| max_upload_size | |
| id | 1718056 |
| size | 101,888 |
octopust is an idiomatic, high-performance Rust client for the Octopus Energy API.
Built for speed, safety, and ergonomics, it helps you interact with Octopus Energy's Kraken platform with ease. 🐙⚡
octopust currently supports the following public Octopus Energy API endpoints:
use octopust::Client;
#[tokio::main]
async fn main() {
let client = Client::new("YOUR_API_KEY");
match client.list_products(ProductQuery {
..Default::default()
}).await {
Ok(products) => {
for product in products {
println!("{:?}", product);
}
}
Err(e) => eprintln!("Error: {:?}", e),
}
}
Add to your Cargo.toml:
octopust = "0.3.0"
See the examples/ directory for more usage patterns.
Contributions are welcome! Please open issues or PRs for bug reports, feature requests, or documentation improvements.
MIT
octopust is not affiliated with Octopus Energy.
Logo and trademark rights belong to their respective owners.