collaboflow-rs

Crates.iocollaboflow-rs
lib.rscollaboflow-rs
version1.0.3
created_at2022-11-23 13:56:32.882485+00
updated_at2025-10-16 17:09:56.952187+00
descriptionA Collaboflow REST API client for Rust language.
homepage
repositoryhttps://github.com/codemountains/collaboflow-rs
max_upload_size
id721622
size213,309
Kazuno Fukuda (codemountains)

documentation

README

Collaboflow REST API Client

archived Crates.io msrv 1.65.0 docs.rs License

[!CAUTION] This project is archived.

A Collaboflow REST API client for Rust language.

This is not an official crate, just a hobby project.

Installation

Requirements

  • Rust 1.65.0+

Importing

The driver is available on crates.io.

To use the driver in your application, simply add it to your project's Cargo.toml.

[dependencies]
collaboflow-rs = "1.0.3"

Example Usage

[dependencies]
collaboflow-rs = "1.0.3"
tokio = "1.40.0"
use collaboflow_rs::{Authorization, CollaboflowClient, Query};

#[tokio::main]
async fn main() -> Result<(), ()> {
    let authorization = Authorization::with_api_key("User id", "API key");

    let client = CollaboflowClient::new("https://{Collaboflow url}/{Instance name}/api/index.cfm", authorization);

    let query = Query::builder().app_cd(1); // Your app cd

    let document_id: i32 = 1; // Your document id
    let result = client.document.get(document_id, query).await;
    match result {
        Ok(resp) => {
            println!("{:?}", resp);
            Ok(())
        },
        Err(err) => {
            println!("{:?}", err);
            Err(())
        }
    }
}

Support APIs

Document

MyStatus

File

Form

User

Group

Title

LICENSE

This project is licensed under the MIT license.

Commit count: 236

cargo fmt