confluence 0.1.1

Access and modify Atlassian Confluence pages from Rust
docs.rs failed to build confluence-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: confluence-0.4.1

Confluence for Rust

Linux

Access and modify Atlassian Confluence pages from Rust.

Usage

Requires Rust 1.4.0.

Add dependency

Add dependency in your Cargo.toml:

[dependencies]
confluence = "0.1"

Example to update page title

extern crate confluence;

fn main() {
    // Get `Page` struct.
    let mut page = session
        .get_page_by_title("SomeSpaceKey", "Page Title")
        .expect("failed to fetch the page");

    // Change the title.
    page.title = "New Page Title".into();

    // Convert `Page` struct to `UpdatePage` and store it.
    session.store_page(page.into())
        .expect("failed to update the page");
}

Reference

Read full documentation.

License

MIT