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.15.tar.gz
(46.3 kB
view hashes)
Built Distribution
Close
Hashes for pysolcast-1.0.15-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87c1ab52ea3342b9f35c4830e91039bdeb8109567ba9721101fe8f9882f4c117 |
|
MD5 | 4e209097b9c87978a67377defdf6798e |
|
BLAKE2b-256 | 609606eba2c97cb1cd3047bded22438250e5d9556967bdd9319f9d517ec53dd2 |