This little project is an attempt to write a storyboard api client.
Currently only the basic operations are supported and just for querying. In the future we might consider to perform write/delete operations.
Add this to your Cargo.toml
[dependencies]
storyboard_client = "*"
and this into your code:
extern crate storyboard_client;
A simple example to search all the stories with the keyword stx
.
extern crate storyboard_client;
use storyboard_client::Client;
fn main() {
let client = Client::new("https://storyboard.openstack.org/api/v1");
let stories = client.search_stories("stx").unwrap();
for s in &stories {
println!("{} - {}", s.id, s.title);
}
}
See more examples in the examples folder.
- Add serialization for enums for task or story status.
- Add
failure
crate. - Add search story by tag capability.
- Change tests to not use network. (yes.. doc tests connects to openstack's API)