No project description provided
Project description
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.
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-2.0.2.tar.gz
(7.8 kB
view hashes)
Built Distribution
pysolcast-2.0.2-py3-none-any.whl
(10.4 kB
view hashes)
Close
Hashes for pysolcast-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b7e0a5de20befcfc8953174ffc99450cb30d388ba1d2daf2905d03b72f50a11 |
|
MD5 | 241f34850d7db311063ed7e513d3a67e |
|
BLAKE2b-256 | 03e24768dd56737d750aa377b16e047f37e3562d87499b501c4e177883fd4451 |