Pirate Weather icon

Pirate Weather

Get weather forecasts and historical weather data from Pirate Weather API

Actions2

Time Machine → Get Historical

AI-generated

Overview

This node retrieves historical weather data for a specific location and time using the Pirate Weather API's Time Machine resource. It is useful for scenarios where users need past weather information, such as analyzing weather conditions for a particular date and time in the past. For example, it can be used in research, event planning, or historical data analysis.

Use Case Examples

  1. Retrieve historical weather data for a given latitude and longitude at a specified UNIX timestamp or ISO 8601 date-time.
  2. Exclude certain data blocks like alerts or hourly data from the response to focus on specific weather details.
  3. Customize the response by selecting language, units, icon style, and API version.

Properties

Name Meaning
Latitude The latitude of the location for which to retrieve historical weather data.
Longitude The longitude of the location for which to retrieve historical weather data.
Time The specific time for which to retrieve historical weather data, provided as a UNIX timestamp or ISO 8601 date-time.
Additional Fields Optional parameters to customize the response, including excluding specific data blocks, extending hourly forecast, choosing icon style, language, units, and API version.

Output

JSON

  • latitude - Latitude of the requested location.
  • longitude - Longitude of the requested location.
  • timezone - Timezone of the location for the weather data.
  • currently - Current weather conditions at the specified time (if not excluded).
  • hourly - Hourly weather data (if not excluded and extended).
  • daily - Daily weather data (if not excluded).
  • alerts - Weather alerts for the location (if not excluded).
  • minutely - Minutely weather data (if not excluded).
  • flags - Additional metadata and information about the data source.

Dependencies

  • Pirate Weather API key credential

Troubleshooting

  • Ensure the latitude and longitude values are valid numbers within their respective ranges (-90 to 90 for latitude, -180 to 180 for longitude).
  • The time parameter must be a valid UNIX timestamp or ISO 8601 date-time string; invalid formats will cause errors.
  • If the API returns errors related to authentication, verify that the Pirate Weather API key credential is correctly configured and active.
  • Network issues or incorrect proxy settings can cause request failures; check the proxy configuration and network connectivity.
  • If SSL certificate validation fails and the option to ignore SSL issues is not enabled, requests may be blocked; enable the option if necessary but be aware of security risks.

Discussion