Metadata-Version: 2.4
Name: wattmaven-solarnetwork-tools
Version: 0.3.0
Summary: The WattMaven SolarNetwork tools.
Project-URL: Homepage, https://wattmaven.com
Project-URL: Source, https://github.com/wattmaven/wattmaven-solarnetwork-tools
Author-email: Elijah Passmore <elijah.passmore@wattmaven.com>
License: MIT
License-File: LICENSE
Keywords: solarnetwork,wattmaven
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Requires-Dist: requests>=2.32.3
Description-Content-Type: text/markdown

# `wattmaven-solarnetwork-tools`

The WattMaven SolarNetwork tools.

Note that this package is still under active development and the API is not yet stable. Breaking changes will be
introduced in the minor version until the API is stable.

## Installation

```bash
pip install wattmaven-solarnetwork-tools
```

## Usage

See [examples](./examples) for usage examples.

```python
from wattmaven_solarnetwork_tools.core.solarnetwork_client import (
    SolarNetworkClient,
    SolarNetworkCredentials,
)

# Create a client
with SolarNetworkClient(
    host="data.solarnetwork.net",
    credentials=SolarNetworkCredentials(
        token="your_token",
        secret="your_secret",
    )
) as client:
    # Make requests
    response = client.request("GET", "/solarquery/api/v1/sec/nodes")
    json = response.json()
    print(json)
    # ...
```

## License

This project is licensed under the **MIT License**. See the [LICENSE](./LICENSE) file for details.
