Skip to main content

Crate cognitum_one

Crate cognitum_one 

Source
Expand description

§cognitum-rs

Official Cognitum SDK for Rust.

Provides async access to the Cognitum API including the product catalog, order management, lead capture, contact forms, OTA device management, MCP tool invocation, and the brain knowledge base.

§Quick start

use cognitum_rs::{Client, Error};

#[tokio::main]
async fn main() -> Result<(), Error> {
    let client = Client::new("my-api-key");

    let catalog = client.catalog().browse().await?;
    println!("Products: {}", catalog.products.len());

    Ok(())
}

Re-exports§

pub use client::Client;
pub use client::ClientConfig;
pub use error::Error;

Modules§

brain
catalog
client
contact
devices
error
leads
mcp
Model Context Protocol (MCP) surface.
orders
types