Metadata-Version: 2.4
Name: eg4_solar_client
Version: 0.1.1
Summary: A Python client for the EG4 Solar API
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: python-dotenv>=1.0.1
Requires-Dist: requests>=2.32.3
Description-Content-Type: text/markdown

# EG4 Solar Client

This is a client for the EG4 solar monitoring API.

## Installation

```bash
pip install eg4-solar-client
```

## Usage

```python
from eg4_solar_client import EG4Client

    # Your EG4 account credentials.
    account = "your_account"
    password = "your_password"
    device_serial_number = "your_device_serial_number"

    # Instantiate the client.
    client = EG4Client(
        account=account,
        password=password,
        device_serial_number=device_serial_number
    )

    # Make the actual request to fetch inverter energy info.
    data = client.get_inverter_energy_info()
```

The `data` variable will contain a JSON object with the data returned by your device.
