An open API service indexing awesome lists of open source software.

https://github.com/cyrix126/doli-client-api-rs

High-level Rust client library to interact with Dolibarr API
https://github.com/cyrix126/doli-client-api-rs

Last synced: 3 months ago
JSON representation

High-level Rust client library to interact with Dolibarr API

Awesome Lists containing this project

README

        

# doli-client-api-rs
High-level Rust client library to interact with Dolibarr API

This library is not meant to fully support every endpoints of Dolibarr OpenAPI spec.
It is opiniated and features will be added as needed.

Example:
```rust,ignore
// construct the client and give the url including the token of the api
let uri = Url::parse("https://:[email protected]/api/index.php")?;
let doli_client = doli_client_api_rs::Client::new(uri);

// get the barcode with the id
let barcode = doli_client.get_barcode_from_id(1094)?;
```