/doli-client-api-rs

High-level Rust client library to interact with Dolibarr API

Primary LanguageRustGNU General Public License v3.0GPL-3.0

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:

// construct the client and give the url
let token = "secret";
let uri = Url::parse("https://dolibarr.example.com/api/index.php")?;
let doli_client = client_doli(token, uri);

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