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.12.tar.gz
(37.3 kB
view hashes)
Built Distribution
Close
Hashes for pysolcast-1.0.12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8dc9f7b19119b641d62638dd2730d81ac0d2c2cc7da1d2c00b326442f60526 |
|
MD5 | fdce96b70771ee033f8ff601540ea8f4 |
|
BLAKE2b-256 | a65ac040c8c2a05abc7953d518af38972ed36adb0ec37b26a58e2ceba2f7058b |