A Rust library for interacting with the Shopify API.
To use shopify-rust
in your own project, add it as a dependency in your Cargo.toml
file:
rust
[dependencies]
shopify-rust = "0.1"
To use shopify-rust
, include it in your code and call the desired functions:
```rust extern crate shopify_rust;
use shopify_rust::{Client, Product};
fn main() { let client = Client::new("MYSHOPDOMAIN", "MYACCESSTOKEN"); let products = client.get_products().unwrap(); for product in products { println!("{} - {}", product.id, product.title); } } ```
For more detailed documentation and examples, see the API reference and the examples.
We welcome contributions to shopify-rust
. If you'd like to contribute, please follow the contributing guidelines.