Skip to content

Instantly share code, notes, and snippets.

@cjtapper
Forked from Layoric/solcast_client_example.py
Last active February 6, 2017 22:53
Show Gist options
  • Select an option

  • Save cjtapper/4fe60e84a7eececa92c07808fc44b9ca to your computer and use it in GitHub Desktop.

Select an option

Save cjtapper/4fe60e84a7eececa92c07808fc44b9ca to your computer and use it in GitHub Desktop.
Example solcast-py API usage.
import solcast
# Print soonest PV power forecast
pv_power_resp = solcast.get_pv_power_forecasts(-35, 149, capacity=2000, tilt=23, azimuth=0, api_key='INSERTYOURAPIKEYHERE')
print(pv_power_resp.forecasts[0].pv_estimate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment