Crates.io | hornbill_apilib |
lib.rs | hornbill_apilib |
version | 0.3.0 |
source | src |
created_at | 2020-05-27 10:36:20.095553 |
updated_at | 2024-04-26 10:52:45.002313 |
description | rust api library for connecting to a hornbill instance |
homepage | https://www.hornbill.com/ |
repository | https://github.com/hornbill/hornbill_apilib |
max_upload_size | |
id | 246623 |
size | 70,038 |
This is an initial commit of the library. It it still a work in progress and some API's might change to make them more effcient.
This library can be used to build tools to communicate with your hornbill instance using the xmlmc endpoint. The documentation for this endpoint can be found here
Add this to your Cargo.toml
:
[dependencies]
hornbill_apilib = "0.3"
These are examples for using this library:
simple
. - quick real world use of the library
logon
. - how to logon either with userLogon or setting an apikey.
jsonresponse
. - Requesting a json response back from the server and parsing it using serde_json.
responseheaders
. - If you need to see the response headers from api calls.
multithreaded
. - WIP, might split this into standard threaded and a tokio example.