Crates.io | shopify-rust |
lib.rs | shopify-rust |
version | 0.1.0 |
source | src |
created_at | 2022-12-26 12:40:25.208503 |
updated_at | 2022-12-26 12:40:25.208503 |
description | A Rust Library for interacting with the Shopify API. |
homepage | |
repository | |
max_upload_size | |
id | 745752 |
size | 12,712 |
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:
[dependencies]
shopify-rust = "0.1"
To use shopify-rust
, include it in your code and call the desired functions:
extern crate shopify_rust;
use shopify_rust::{Client, Product};
fn main() {
let client = Client::new("MY_SHOP_DOMAIN", "MY_ACCESS_TOKEN");
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.