Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/varunpotti/lemonsqueezy.rs
Unofficial Rust SDK for lemonsqueezy
https://github.com/varunpotti/lemonsqueezy.rs
lemonsqueezy rust
Last synced: about 2 months ago
JSON representation
Unofficial Rust SDK for lemonsqueezy
- Host: GitHub
- URL: https://github.com/varunpotti/lemonsqueezy.rs
- Owner: VarunPotti
- License: apache-2.0
- Created: 2023-09-06T13:25:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-14T06:35:10.000Z (5 months ago)
- Last Synced: 2024-08-14T07:47:45.162Z (5 months ago)
- Topics: lemonsqueezy, rust
- Language: Rust
- Homepage:
- Size: 77.1 KB
- Stars: 7
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lemonsqueezy.rs
### Example Usage
~~~rust
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
Docs can be found [here](docs/index.md)### License
This project is licensed under the Apache License - see the [LICENSE.md](LICENSE.md) file for details