#instance #connecting #endpoint #response #api #hornbill #xmlmc

hornbill_apilib

rust api library for connecting to a hornbill instance

3 releases (breaking)

0.3.0 Apr 26, 2024
0.2.0 Dec 7, 2023
0.1.0 May 27, 2020

#701 in Web programming

39 downloads per month

Custom license

22KB
365 lines

Hornbill rust api library

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

Documentation

hornbill_apilib.

Usage

Add this to your Cargo.toml:

[dependencies]
hornbill_apilib = "0.3"

Examples

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.

Dependencies

~6–17MB
~247K SLoC