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.7.tar.gz
(24.1 kB
view hashes)
Built Distributions
pysolcast-1.0.7-py3.9.egg
(6.4 kB
view hashes)
Close
Hashes for pysolcast-1.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37345c3b80cd06b01c84bbaf32f144bfe2901dfbec59ecd4cd2c86dc6a3ee868 |
|
MD5 | 43a5bb636e3d9c38f79779d16429412d |
|
BLAKE2b-256 | 15c6ead7a416061f180a049c316649f093936795dc5e197abbcfeb460caadba7 |