provident 0.2.1

Unofficial client for the Provident (MeterConnex) utility metering portal: meters, usage history, and reports
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-3.0-only

//! `GET /api/internal/reports/quickreport`: start/end meter readings and consumption totals per
//! meter over a date range, grouped by utility.

mod req;
mod res;

pub use req::QuickReportRequest;
pub use res::{QuickReportResponse, ReportRow, RowSource};

/// Root-relative path, joined to the client base URL.
pub const PATH: &str = "api/internal/reports/quickreport";

/// HTTP method the endpoint accepts.
pub const METHOD: reqwest::Method = reqwest::Method::GET;