| Crates.io | lemonsqueezy |
| lib.rs | lemonsqueezy |
| version | 0.1.3 |
| created_at | 2023-09-07 13:45:31.245641+00 |
| updated_at | 2025-07-21 04:00:36.449295+00 |
| description | Unofficial Rust client for the LemonSqueezy API |
| homepage | |
| repository | https://github.com/VarunPotti/lemonsqueezy.rs |
| max_upload_size | |
| id | 966247 |
| size | 170,742 |
use lemonsqueezy::modules::products::{Product, ProductFilters};
#[tokio::main]
async fn main() {
dotenv::dotenv().ok();
let lemonsqueezy = lemonsqueezy::LemonSqueezy::new(std::env::var("API_KEY").unwrap());
let product = Product::build(lemonsqueezy);
let product_filters = ProductFilters {
store_id: Some(42756),
};
let products = product.get_all(Some(product_filters)).await.unwrap();
println!("{:#?}", products);
}
Docs can be found here
This project is licensed under the Apache License - see the LICENSE.md file for details