pysurfline.api.public.get_spot_forecasts

pysurfline.api.public.get_spot_forecasts(spotId: str, intervalHours: int = 3, days: int = 5) SpotForecasts

get spot forecast

Get forecast for given spot by passing the spotId argument.

Parameters
  • spotId (str) – spot id

  • intervalHours (int, optional) – interval hours. Defaults to None.

  • days (int, optional) – days. Defaults to None.

Returns

forecast (SpotForecast)