Expand description
Access to the Glowmarkt API for meter readings.
Developed based on https://bitbucket.org/ijosh/brightglowmarkt/src/master/
Re-exports
pub use api::Device;
pub use api::DeviceType;
pub use api::Resource;
pub use api::ResourceType;
pub use api::VirtualEntity;
pub use error::Error;
pub use error::ErrorKind;
Modules
- API request and response structures.
- A basic error container.
Structs
- Access to the Glowmarkt API.
- The API endpoint.
- A meter reading
Enums
- The time window for each reading.
Constants
- The default application ID to use when communicating with the API.
- The default API endpoint.
Functions
- Attempts to align the given date to the start of a reading period.
- Splits a range of readings into a set of ranges that the API will accept.