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: over 1 year ago
JSON representation
High-level Rust client library to interact with Dolibarr API
- Host: GitHub
- URL: https://github.com/cyrix126/doli-client-api-rs
- Owner: Cyrix126
- License: gpl-3.0
- Created: 2024-06-06T14:16:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-04T06:20:19.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T15:47:58.709Z (almost 2 years ago)
- Language: Rust
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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://:token@dolibarr.example.com/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)?;
```