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§

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

Structs§

  • Client for the Enphase Envoy local API.