provident 0.2.2

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
// SPDX-License-Identifier: GPL-3.0-only

//! `GET /secure/AccountInfo.aspx/GetDetails`: the signed-in user's profile.

mod req;
mod res;

pub use req::GetDetailsRequest;
pub use res::{AccountDetails, GetDetailsResponse};

/// Root-relative path, joined to the client base URL.
pub const PATH: &str = "secure/AccountInfo.aspx/GetDetails";

/// HTTP verb the `[WebMethod]` accepts (`UseHttpGet = true`; POST answers 500).
pub const METHOD: reqwest::Method = reqwest::Method::GET;