Crates.io Crates.io Crates.io GitHub Workflow Status

About

A rust based sdk for e-commerce platform CS cart.

NOTE: This is a work in progress!

Getting started

```rust use cscartrs::Client; use serdejson::Value;

async fn getcategories() -> Result> { let client = Client::new() .host("http://my-ecommerce-site.com") .username("my-user-email@email.com") .apikey("user-api-key");

let categories = client
    .category()
    .get_all().await;

categories

} ```

Features

| Entity | Support | | :---: | :-----: |
| cart | Yes |
| call requests | Yes |
| categories | Yes |
| discussions | No |
| languages | No |
| langvars | No |
| orders | In progress |
| pages | No |
| payment methods | Yes |
| products | Yes |
| product features | No |
| product variations | No |
| product variation group | No |
| product options | No |
| product option combination | No |
| product option exception | No |
| settings | In progress |
| shipments | In progress |
| shipping methods | In progress |
| statuses | In progress |
| stores | No |
| taxes | In progress |
| users | Yes |
| user groups | In progress |
| vendors | Yes |