Skip to main content

The WattMaven SolarNetwork tools.

Project description

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

pip install wattmaven-solarnetwork-tools

Usage

See examples for usage examples.

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 file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wattmaven_solarnetwork_tools-0.3.0.tar.gz (50.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wattmaven_solarnetwork_tools-0.3.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file wattmaven_solarnetwork_tools-0.3.0.tar.gz.

File metadata

File hashes

Hashes for wattmaven_solarnetwork_tools-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0c0331392760c756cea51e207bbc14e745b7e4ae070109d1ad7e0dcd958ce838
MD5 5014cbcb884ff8e66aeb90fa9e57bcff
BLAKE2b-256 6ea86a8051718364a1d84d495f1d4905ac9a8c5e8724b6a7b1bd0a1d73620044

See more details on using hashes here.

File details

Details for the file wattmaven_solarnetwork_tools-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wattmaven_solarnetwork_tools-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a700c42b33acc1b49137508cf2cdbb66e33c1baef75c498f3a5b1f7742c16238
MD5 5fcdb1892e12239ed7aa51260933a92c
BLAKE2b-256 e350b1106999bc992a143623fa71019aa3630b113022c408987116f94afceed3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page