An unoffical API for "next.nordsys.se".
Currently powering brutal.rs which is a WIP alternate frontend.
// using the api part
let client = NClient::login(server_id, username, password);
let invoice = client.api().supplier_invoice_document(supplier_invoice_id);
// using the datastore part
let client = NClient::login(server_id, username, password);
let settings = client.datastore::<OptionValueStore>().get_all();
Replace OptionValueStore with any of the available tables in tables.rs
You can find more examples in /examples. Run them with:
cargo run --example
cargo run --example list_workorders