#api #agile #storyboard #api-client

bin+lib storyboard-client

A client for StoryBoard API

3 unstable releases

Uses old Rust 2015

0.2.1 Oct 16, 2018
0.2.0 Oct 15, 2018
0.1.0 Oct 14, 2018

#2 in #agile

MIT license

19KB
268 lines

Storyboard client

Linux build status

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.

Usage

Add this to your Cargo.toml

[dependencies]
storyboard_client = "*"

and this into your code:

extern crate storyboard_client;

Example

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.

TODO

  • 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)

Dependencies

~23MB
~469K SLoC