Skip to main content

Cyware Orchestrate

OpenWeather

App Vendor: OpenWeather

App Category: IT Services

Connector Version: 1.0.0

API Version: 1.0.0

About App

The OpenWeather app helps security teams to integrate with the OpenWeather's One Call API to retrieve the weather forecasting data.

The OpenWeather app is configured with Orchestrate to perform the following actions:

Action Name

Description

Get 7-Day Daily Forecast

This action retrieves the weather forecast of seven days based on the geographical coordinates.

Get One Call API Results

This action retrieves the One Call API results such as national weather alerts, current weather forecast, and historical weather data based on the geographical coordinates.

Configuration Parameters

The following configuration parameters are required for the OpenWeather app to communicate with the OpenWeather enterprise application. The parameters can be configured by creating instances in the OpenWeather app.

Parameter

Description

Field Type

Required/Optional

Comments

Base URL

Enter the base URL for the OpenWeather API.

Example:

"https://api.openweathermap.org"

Text

Optional

Default value:

https://api.openweathermap.org

API Key

Enter the API key to access the OpenWeather API.

Example:

"aT1xxxx5rzs"

Text

Required

Action: Get 7-Day Daily Forecast

This action retrieves the weather forecast of seven days based on the input geographical coordinates.

Action Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Latitude

Enter the latitude of the geographical location in decimal notation and up to two decimal places.

Example:

  • "33.44 "

  • "-33.44"

Text

Required

Longitude

Enter the longitude of the geographical location in decimal notation and up to two decimal places.

Example:

  • "94.04"

  • "-94.04"

Text

Required

Example Request

[
    {
        "latitude": "33.44",
        "longitude": "-94.04"
    }
]
Action: Get One Call API Results

This action retrieves the One Call API results such as national weather alerts, current weather forecast, and historical weather data based on the input geographical coordinates.

Action Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Latitude

Enter the latitude of the geographical location in decimal notation and up to two decimal places.

Example:

  • "33.44"

  • "-33.44"

Text

Required

Longitude

Enter the latitude of the geographical location in decimal notation and up to two decimal places.

Example:

  • "94.04"

  • "-94.04"

Text

Required

Example Request

[
    {
        "latitude": "34.44",
        "longitude": "-94.04"
    }
]