S5.Weather.solcast_forecast.send_live_request#

S5.Weather.solcast_forecast.send_live_request(latitude: float, longitude: float, api_key: str, name: str = 'unknown') DataFrame[source]#

Obtain the historic data from Solcast using the Solcast SDK

Parameters:
  • latitude – latitude of the spot to get the forecast.

  • longitude – longitude of the spot to get the forecast.

  • api_key – Solcast api key

  • name – Name of the location for the forecast.

Returns:

Forecast as a dataframe.