nle-cloud-sdk 0.1.1

Unofficial asynchronous Rust SDK for the NLECloud (新大陆物联网云平台) IoT platform
Documentation
//! API extension traits and methods for [`crate::client::NleCloudClient`].
//!
//! This module groups client API operations by category matching the upstream
//! NLECloud RESTful API structure:
//! - [`auth`]: User authentication, token management.
//! - [`projects`]: Project CRUD and multi-device sensor queries.
//! - [`devices`]: Device lifecycle, status, and telemetry querying.
//! - [`sensors`]: Sensor CRUD, telemetry reporting, and aggregation queries.
//! - [`commands`]: Actuator command dispatching.

/// User authentication and token verification endpoints (`/users/*`).
pub mod auth;

/// Actuator control and device command dispatch endpoints (`/Cmds`).
pub mod commands;

/// Device management, batch status, and telemetry endpoints (`/devices/*`).
pub mod devices;

/// Project management and project-wide sensor endpoints (`/projects/*`).
pub mod projects;

/// Sensor/actuator management, telemetry reporting, and aggregations (`/devices/{id}/sensors`, `/devices/{id}/datas`).
pub mod sensors;