1 unstable release

Uses old Rust 2015

0.0.1 Apr 20, 2016

#1506 in #api-client

MIT/Apache

8KB
103 lines

aruba-ripple

Build Status

Aruba Airwave API Client

Documentation

Testing

There are a few integration tests that require access to an Airwave controller. A file called settings.txt will be read to obtain the URL and credentials. Refer to example.settings.txt for the format.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

aruba-ripple

This client helps with usage of the Aruba Airwave API. Refer to the Airwave API documentation for details on endpoints and the XML schema.

Example:

extern crate aruba_ripple;

use aruba_ripple::Client;

let mut client = Client::new("https://aruba.example.com");
client.login("username", "password").unwrap();
let mut stats = client.get("amp_stats.xml", None).unwrap();
let mut xml = String::new();
stats.read_to_string(&mut xml).unwrap();
// you probably want to use an XML parser at this point
assert!(xml.contains("amp:amp_stats"));

Dependencies

~5.5MB
~113K SLoC