Solcast API
Project description
pysolcast
Solcast API
Client library for interacting with the Solcast API
Basic Usage
Get Forecasts
from pysolcast.rooftop import RooftopSite
site = RooftopSite(api_key, resource_id)
forecasts = site.get_forecasts()
Post Measurements
measurement = {
'measurement': {
'period_end': '2021-01-25T17:45:00.0000000Z',
'period': 'PT15M',
'total_power': 0.388
}
}
results = site.post_measurements(measurement)
Full API Documentation.
History
1.0.4 (2020-04-16)
Readme fix
1.0.2 (2020-04-14)
Release to pypi
1.0.0 (2020-04-10)
First release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysolcast-1.0.11.tar.gz
(37.2 kB
view hashes)
Built Distribution
Close
Hashes for pysolcast-1.0.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e882ccb6a8b1ebd614d3bb2ba35220e30f0a5ff89793ce4b915b72686a47a88 |
|
MD5 | 101e52b9f59e7954e1a14cc83283d3b4 |
|
BLAKE2b-256 | e20946c944b049113d9b3a58075fff5511acd6cdbc9a2c861c11c46a38d96d7b |