# FusionSolar
Python client for Huawey FusionSolar API
## Example usage
```python
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)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "testkerrsidnetfusion",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Huawei PV Solar FusionSolar API Python",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/1f/9d/bb483002e78cb441f79d88a7530f87d40463c389ba2855ec5a78edd8843e/testkerrsidnetfusion-0.0.6.tar.gz",
"platform": null,
"description": "# FusionSolar\nPython client for Huawey FusionSolar API\n\n## Example usage\n\n```python\nfrom fusionsolar import Client, PandasClient\nimport pandas as pd\n\ndate = pd.Timestamp('20200402', tz='Europe/Brussels')\n\nwith PandasClient(user_name=user, system_code=password) as client:\n sl = client.get_station_list()\n station_code = sl['data'][0]['stationCode']\n \n df = client.get_kpi_day(station_code=station_code, date=date)\n\nprint(df)\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "A Python client for Huawei FusionSolar",
"version": "0.0.6",
"project_urls": null,
"split_keywords": [
"huawei",
"pv",
"solar",
"fusionsolar",
"api",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "516101095e114da12a65c5ca774f3323a35708f51528fb71e6b6a5cf88eab18a",
"md5": "5b2e7590895a8cba0c1d128daf876f52",
"sha256": "8908d473ce8b7443a37f800b2e1464e37c8d461841dd164ee111a83d1a731050"
},
"downloads": -1,
"filename": "testkerrsidnetfusion-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5b2e7590895a8cba0c1d128daf876f52",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4645,
"upload_time": "2023-06-20T08:24:09",
"upload_time_iso_8601": "2023-06-20T08:24:09.464157Z",
"url": "https://files.pythonhosted.org/packages/51/61/01095e114da12a65c5ca774f3323a35708f51528fb71e6b6a5cf88eab18a/testkerrsidnetfusion-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1f9dbb483002e78cb441f79d88a7530f87d40463c389ba2855ec5a78edd8843e",
"md5": "e68e5af270f939dc0924dca4627daeaa",
"sha256": "957b9cb2ada7f7a329ce119a0ab498dc245084d0a70789261aeef1f27fd9e5b9"
},
"downloads": -1,
"filename": "testkerrsidnetfusion-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "e68e5af270f939dc0924dca4627daeaa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4954,
"upload_time": "2023-06-20T08:24:11",
"upload_time_iso_8601": "2023-06-20T08:24:11.091469Z",
"url": "https://files.pythonhosted.org/packages/1f/9d/bb483002e78cb441f79d88a7530f87d40463c389ba2855ec5a78edd8843e/testkerrsidnetfusion-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-20 08:24:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "testkerrsidnetfusion"
}