Skip to main content

Solcast API

Project description

pysolcast

Build Status CodeCov pypi Maintainability

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


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)

Uploaded source

Built Distributions

pysolcast-1.0.7-py3.9.egg (6.4 kB view hashes)

Uploaded 3 9

pysolcast-1.0.7-py2.py3-none-any.whl (6.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page