Skip to main content

No project description provided

Project description

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.

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-2.0.1.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

pysolcast-2.0.1-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page