Crate enphase_local

Source
Expand description

A client library for the Enphase Envoy local API.

§Example

use enphase_local::Envoy;
use reqwest::Url;

const AUTH_TOKEN: &str = "...";

let envoy = Envoy::new(Url::parse("https://envoy.local/")?, AUTH_TOKEN);
let production = envoy.production().await?;
println!("Production: {:?}", production);

Modules§

home
Types returned by the home API.
inventory
Types returned by the inventory API.
inverters
Types returned by the v1 production API.
meters
Types returned by the IVP meters API methods.
production
Types returned by the production API.

Structs§

Envoy
Client for the Enphase Envoy local API.