Partager via


MSN Weather

MSN Weather gets you the very latest weather forecast, including temperature, humidity, precipitation for your location.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Standard All Power Automate regions except the following:
     -   China Cloud operated by 21Vianet
Power Apps Standard All Power Apps regions except the following:
     -   China Cloud operated by 21Vianet
Contact
Name Microsoft
URL Microsoft LogicApps Support
Microsoft Power Automate Support
Microsoft Power Apps Support
Connector Metadata
Publisher Microsoft
Website https://www.msn.com/weather

General Limits

Name Value
Connections per account 1

Throttling Limits

Name Calls Renewal Period
API calls per connection 8 60 seconds
Frequency of trigger polls 1 60 seconds

Actions

Get current weather

Get the current weather for a location.

Get forecast for today

Get the forecast for the current day in the specified location.

Get the forecast for tomorrow

Get the forecast for tomorrow in the specified location.

Get current weather

Get the current weather for a location.

Parameters

Name Key Required Type Description
Location
Location True string

The location search query. Valid inputs are City, Region, State, Country, Landmark, Postal Code, latitude and longitude

Units
units True string

The measurement system used for all the meausre values in the request and response. Valid options are 'Imperial' and 'Metric'.

Returns

Get forecast for today

Get the forecast for the current day in the specified location.

Parameters

Name Key Required Type Description
Location
Location True string

The location search query. Valid inputs are City, Region, State, Country, Landmark, Postal Code, latitude and longitude

Units
units True string

The measurement system used for all the meausre values in the request and response. Valid options are 'Imperial' and 'Metric'.

Returns

Get the forecast for tomorrow

Get the forecast for tomorrow in the specified location.

Parameters

Name Key Required Type Description
Location
Location True string

The location search query. Valid inputs are City, Region, State, Country, Landmark, Postal Code, latitude and longitude

Units
units True string

The measurement system used for all the meausre values in the request and response. Valid options are 'Imperial' and 'Metric'.

Returns

Triggers

When the current conditions change

Triggers a new flow when the conditions change for a location.

When the current weather changes

Triggers a new flow when the specified weather measure changes for a location.

When the current conditions change

Triggers a new flow when the conditions change for a location.

Parameters

Name Key Required Type Description
Location
Location True string

The location search query. Valid inputs are City, Region, State, Country, Landmark, Postal Code, latitude and longitude

Units
units True string

The measurement system used for all the meausre values in the request and response. Valid options are 'Imperial' and 'Metric'.

Returns

When the current weather changes

Triggers a new flow when the specified weather measure changes for a location.

Parameters

Name Key Required Type Description
Location
Location True string

The location search query. Valid inputs are City, Region, State, Country, Landmark, Postal Code, latitude and longitude

Measure
Measure True string

The weather measure used for this operation. Valid options are 'Temperature', 'UV Index', 'Humidity' or 'Wind Speed'.

When the measure...
When True string

The condition the trigger will be checking. Valid options are 'Is equal to', 'Goes over', or 'Goes below'. For example, if the measure is 'temperature' and this parameter is set to 'Goes below' then the trigger will fire when the temperature goes below the target value.

Target
Target True float

The target value for the specified measure.

Units
units True string

The units for the measure value and the target value.

Returns

Definitions

CurrentWeather

Name Path Type Description
Pressure
responses.weather.current.baro float

The atmospheric pressure.

Conditions
responses.weather.current.cap string

A caption of weather conditions such as rainy, sunny, etc.

Dewpoint
responses.weather.current.dewPt float

The temperature at which dew forms.

Apparent Temperature
responses.weather.current.feels float

The apparent temperature, or feels-like temperature.

Humidity
responses.weather.current.rh float

The relative humidity percentage.

METAR weather conditions
responses.weather.current.wx string

The METAR code of weather conditions.

METAR Sky Conditions
responses.weather.current.sky string

The METAR code of sky conditions.

Temperature
responses.weather.current.temp float

The current temperature.

UV Index
responses.weather.current.uv float

The numerical UV index.

UV Index Description
responses.weather.current.uvDesc string

A description of the meaning of the UV index.

Visibility Distance
responses.weather.current.vis float

The visibility distance.

Wind Direction
responses.weather.current.windDir integer

The wind direction in degrees clockwise from north.

Wind Speed
responses.weather.current.windSpd float

The wind speed.

Wind Gust Speed
responses.weather.current.windGust float

The wind gust speed.

Last Updated
responses.weather.current.created date-time

The datetime at which provider created the current condition.

Latitude
responses.source.coordinates.lat float

The latitude of the location.

Longitude
responses.source.coordinates.lon float

The longitude of the location.

Location
responses.source.location string

The location for which provider created the current condition.

Pressure Units
units.pressure string

Units used for pressure measurements.

Temperature Units
units.temperature string

Units used for temperature measurements.

Speed Units
units.speed string

Units used for speed measurements.

Distance Units
units.distance string

Units used for distance measurements.

WeatherForecast

Name Path Type Description
Conditions
responses.daily.day.cap string

The caption of weather conditions such as rainy, sunny, etc.

Rain Chance
responses.daily.day.precip float

The chance of precipitation (%).

METAR Weather Conditions
responses.daily.day.wx string

The METAR code of weather conditions.

METAR Sky Conditions
responses.daily.day.sky string

The METAR code of sky conditions.

Wind Direction
responses.daily.day.windDir integer

The wind direction in degrees clockwise from north.

Wind Speed
responses.daily.day.windSpd float

The wind speed.

Summary
responses.daily.day.summary string

A text summary of the forecast.

Conditions
responses.daily.night.cap string

The caption of weather conditions such as rainy, sunny, etc.

Rain Chance
responses.daily.night.precip float

The chance of precipitation (%).

METAR Weather Conditions
responses.daily.night.wx string

The METAR code of weather conditions.

METAR Sky Conditions
responses.daily.night.sky string

The METAR code of sky conditions.

Wind Direction
responses.daily.night.windDir integer

The wind direction in degrees clockwise from north.

Wind Speed
responses.daily.night.windSpd float

The wind speed.

Summary
responses.daily.night.summary string

A text summary of the forecast.

Conditions
responses.daily.pvdrCap string

The caption of weather conditions such as rainy, sunny, etc.

Date
responses.daily.valid date-time

The datetime at which the forecast is valid.

Rain Chance
responses.daily.precip float

The chance of precipitation (%).

Max Wind Speed
responses.daily.windMax float

The peak wind speed for the day.

Max Wind Direction
responses.daily.windMaxDir integer

The direction of the peak wind for the day.

Humidity High
responses.daily.rhHi float

The high relative humidity point for the day.

Humidity Low
responses.daily.rhLo float

The low relative humidity point for the day.

Temperature High
responses.daily.tempHi float

The high temperature.

Temperature Low
responses.daily.tempLo float

The low temperature.

UV Index
responses.daily.uv float

The numerical UV index.

UV Index Description
responses.daily.uvDesc string

A description of the meaning of the UV index.

Forecast Date
responses.daily.created date-time

The datetime at which the daily forecast was derived.

Sunrise Time
responses.almanac.sunrise date-time

Time of sunrise on the day of this forecast.

Sunset Time
responses.almanac.sunset date-time

Time of sunset on the day of this forecast.

Moonrise Time
responses.almanac.moonrise date-time

Time of moonrise on the day of this forecast.

Moonset Time
responses.almanac.moonset date-time

Time of moonset on the day of this forecast.

Moon Phase
responses.almanac.moonPhase string

The phase of the moon the day of this forecast.

Moon Phase Code
responses.almanac.moonPhaseCode string

The code representing the phase of the moon.

Latitude
responses.source.coordinates.lat float

The latitude of the location.

Longitude
responses.source.coordinates.lon float

The longitude of the location.

Location
responses.source.location string

The location for which provider created the forecast.

Pressure Units
units.pressure string

Units used for pressure measurements.

Temperature Units
units.temperature string

Units used for temperature measurements.

Speed Units
units.speed string

Units used for speed measurements.

Distance Units
units.distance string

Units used for distance measurements.