Skip to main content

A Python client for Huawei FusionSolar

Project description

FusionSolar

Python client for Huawey FusionSolar API

Example usage

from fusionsolar import Client, PandasClient
import pandas as pd

date = pd.Timestamp('20200402', tz='Europe/Brussels')

with PandasClient(user_name=user, system_code=password) as client:
    sl = client.get_station_list()
    station_code = sl['data'][0]['stationCode']

    df = client.get_kpi_day(station_code=station_code, date=date)

print(df)

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

fusionsolar-0.0.6.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

fusionsolar-0.0.6-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

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