Weather - Get Hourly Forecast

最大 24 時間の詳細な 1 時間ごとの天気予報または最大 10 日間の毎日の予測を取得するために使用します。

Get Hourly Forecast API は、指定された座標の場所に対して、次の 1、12、24 (1 日)、72 (3 日)、120 (5 日)、240 時間 (10 日間) の詳細な天気予報を要求する HTTP GET です。 この API は、温度、湿度、風、降水量、紫外線 (UV) インデックスなどの詳細を返します。 詳細については、「 1 時間ごとの天気予報データを要求する」を参照してください。

Gen1 S0 価格レベルを使用している場合は、次の 1 時間、12 時間、24 時間 (1 日)、72 時間 (3 日間) の時間単位の予測を要求できます。 Gen1 S1 または Gen2 の価格レベルを使用している場合は、次の 120 (5 日間) と 240 時間 (10 日間) の時間単位の予測を要求することもできます。

GET https://atlas.microsoft.com/weather/forecast/hourly/json?api-version=1.1&query={query}
GET https://atlas.microsoft.com/weather/forecast/hourly/json?api-version=1.1&query={query}&unit={unit}&duration={duration}&language={language}

URI パラメーター

名前 / 必須 説明
format
path True

JsonFormat

応答の目的の形式。 サポートされているのは json 形式のみです。

api-version
query True

string

Azure Maps API のバージョン番号。

query
query True

number[]

緯度の後に経度 (例: "47.641268,-122.125679" など) で構成されるコンマ区切り文字列として指定された該当するクエリ。

duration
query

integer

返された天気予報の時間枠。 既定では、次の時間の予測データが返されます。 使用可能な値は次のとおりです。

  • 1 - 次の 1 時間の予測データを返します。 既定値です。
  • 12 - 次の 12 時間の時間単位の予測を返します。
  • 24 - 次の 24 時間の時間単位の予測を返します。
  • 72 - 次の 72 時間 (3 日間) の時間単位の予測を返します。
  • 120 - 次の 120 時間 (5 日間) の時間単位の予測を返します。 S1 SKU でのみ使用できます。
  • 240 - 次の 240 時間 (10 日間) の時間単位の予測を返します。 S1 SKU でのみ使用できます。
language
query

string

検索結果を返す言語。 サポートされている IETF 言語タグの 1 つである必要があります。大文字と小文字は区別されません。 指定した言語のデータが特定のフィールドで使用できない場合は、既定の言語が使用されます。

詳細については、「 サポートされている言語 」を参照してください。

unit
query

WeatherDataUnit

メトリック単位または帝国単位のいずれかでデータを返すように指定します。 既定値はメトリックです。

要求ヘッダー

名前 必須 説明
x-ms-client-id

string

Microsoft Entra ID セキュリティ モデルと組み合わせて使用するアカウントを指定します。 Azure Maps アカウントの一意の ID を表し、Azure Maps管理プレーン アカウント API から取得できます。 Azure MapsでMicrosoft Entra IDセキュリティを使用するには、ガイダンスについては、次の記事を参照してください。

応答

名前 説明
200 OK

HourlyForecastResult

OK

Other Status Codes

ErrorResponse

予期しないエラーが発生しました。

セキュリティ

AADToken

これらは OAuth 2.0 フロー Microsoft Entraです。 Azure ロールベースのアクセス制御と組み合わせて使用すると、Azure Maps REST API へのアクセスを制御できます。 Azure ロールベースのアクセス制御は、1 つ以上のAzure Mapsリソース アカウントまたはサブリソースへのアクセスを指定するために使用されます。 REST API をAzure Mapsするための 1 つ以上のアクセス許可で構成される組み込みロールまたはカスタム ロールを使用して、ユーザー、グループ、またはサービス プリンシパルにアクセス権を付与できます。

シナリオを実装するには、 認証の概念を表示することをお勧めします。 要約すると、このセキュリティ定義は、特定の API とスコープに対するアクセス制御が可能なオブジェクトを使用してアプリケーションをモデル化するためのソリューションを提供します。

メモ

  • このセキュリティ定義では、 ヘッダーを使用して、x-ms-client-idアプリケーションがアクセスを要求しているリソースAzure Maps示す必要があります。 これは、 Maps 管理 API から取得できます。

Authorization URL 、Azure パブリック クラウド インスタンスに固有です。 ソブリン クラウドには、固有の承認 URL とMicrosoft Entra ID構成があります。 * Azure ロールベースのアクセス制御は、Azure portal、PowerShell、CLI、Azure SDK、または REST API を介して Azure 管理プレーンから構成されます。 * Azure Maps Web SDK を使用すると、複数のユース ケースに対してアプリケーションを構成ベースで設定できます。

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
https://atlas.microsoft.com/.default https://atlas.microsoft.com/.default

subscription-key

これは、Azure portalでAzure Maps アカウントを作成するとき、または PowerShell、CLI、Azure SDK、または REST API を使用してプロビジョニングされる共有キーです。

このキーを使用すると、すべてのアプリケーションですべての REST API にアクセスできます。 つまり、このキーは、発行先のアカウントのマスター キーとして使用できます。

公開されているアプリケーションの場合は、機密クライアント アプリケーション のアプローチを使用して、キーを安全に格納できるように、Azure Maps REST API にアクセスすることをお勧めします。

Type: apiKey
In: query

SAS Token

これは、Azure portal、PowerShell、CLI、Azure SDK、または REST API を介して Azure 管理プレーンを介して、Azure Maps リソースの List SAS 操作から作成される共有アクセス署名トークンです。

このトークンを使用すると、すべてのアプリケーションが Azure ロールベースのアクセス制御を使用してアクセスし、特定のトークンに使用される有効期限、レート、およびリージョンに対するきめ細かい制御が許可されます。 言い換えると、SAS トークンを使用して、アプリケーションが共有キーよりもセキュリティで保護された方法でアクセスを制御できます。

公開されているアプリケーションの場合、 Map アカウント リソース で許可される配信元の特定のリストを構成して、レンダリングの不正使用を制限し、SAS トークンを定期的に更新することをお勧めします。

Type: apiKey
In: header

Successfully retrieve detailed weather forecast by the hour

Sample Request

GET https://atlas.microsoft.com/weather/forecast/hourly/json?api-version=1.1&query=47.632346,-122.138874&duration=12

Sample Response

{
  "forecasts": [
    {
      "date": "2019-11-14T16:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": true,
      "temperature": {
        "value": 13.4,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 14.1,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 10.9,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 8.4,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 311,
          "localizedDescription": "NW"
        },
        "speed": {
          "value": 3.7,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 5.6,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 72,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 100,
      "ceiling": {
        "value": 3901,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 39,
      "rainProbability": 39,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-14T17:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 12.5,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 12.8,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 10.2,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 7.8,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 281,
          "localizedDescription": "W"
        },
        "speed": {
          "value": 5.6,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 7.4,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 73,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 94,
      "ceiling": {
        "value": 4054,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 34,
      "rainProbability": 34,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-14T18:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 11.3,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 11.3,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 9.5,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 7.4,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 206,
          "localizedDescription": "SSW"
        },
        "speed": {
          "value": 7.4,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 77,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 94,
      "ceiling": {
        "value": 4176,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 29,
      "rainProbability": 29,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-14T19:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 10.4,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 9.8,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.8,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 7,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 169,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 7.4,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 11.1,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 79,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 93,
      "ceiling": {
        "value": 4542,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 20,
      "rainProbability": 20,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-14T20:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 10.1,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 9.2,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.6,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 6.9,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 170,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 11.1,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 80,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 92,
      "ceiling": {
        "value": 4389,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 20,
      "rainProbability": 20,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-14T21:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 10.1,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 9,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.8,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 7.1,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 170,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 13,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 82,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 91,
      "ceiling": {
        "value": 4481,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 20,
      "rainProbability": 20,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-14T22:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 9.8,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 8.5,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.6,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 7.2,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 174,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 13,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 84,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 92,
      "ceiling": {
        "value": 4481,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 20,
      "rainProbability": 20,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-14T23:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 9.8,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 8.5,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.5,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 7,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 175,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 13,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 82,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 94,
      "ceiling": {
        "value": 3688,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 20,
      "rainProbability": 20,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-15T00:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 10.1,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 8.8,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.6,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 6.9,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 176,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 13,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 81,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 97,
      "ceiling": {
        "value": 2926,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 20,
      "rainProbability": 20,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-15T01:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 9.9,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 8.5,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.5,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 6.8,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 177,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 13,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 81,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 99,
      "ceiling": {
        "value": 2164,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 21,
      "rainProbability": 21,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-15T02:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 9.8,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 8.5,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.4,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 6.8,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 172,
          "localizedDescription": "S"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 13,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 82,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 100,
      "ceiling": {
        "value": 1737,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 21,
      "rainProbability": 21,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    },
    {
      "date": "2019-11-15T03:00:00-08:00",
      "iconCode": 7,
      "iconPhrase": "Cloudy",
      "hasPrecipitation": false,
      "isDaylight": false,
      "temperature": {
        "value": 9.7,
        "unit": "C",
        "unitType": 17
      },
      "realFeelTemperature": {
        "value": 8.6,
        "unit": "C",
        "unitType": 17
      },
      "wetBulbTemperature": {
        "value": 8.4,
        "unit": "C",
        "unitType": 17
      },
      "dewPoint": {
        "value": 6.9,
        "unit": "C",
        "unitType": 17
      },
      "wind": {
        "direction": {
          "degrees": 161,
          "localizedDescription": "SSE"
        },
        "speed": {
          "value": 9.3,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "windGust": {
        "speed": {
          "value": 13,
          "unit": "km/h",
          "unitType": 7
        }
      },
      "relativeHumidity": 83,
      "visibility": {
        "value": 16.1,
        "unit": "km",
        "unitType": 6
      },
      "cloudCover": 100,
      "ceiling": {
        "value": 1311,
        "unit": "m",
        "unitType": 5
      },
      "uvIndex": 0,
      "uvIndexPhrase": "Low",
      "precipitationProbability": 26,
      "rainProbability": 26,
      "snowProbability": 0,
      "iceProbability": 0,
      "totalLiquid": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "rain": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      },
      "snow": {
        "value": 0,
        "unit": "cm",
        "unitType": 4
      },
      "ice": {
        "value": 0,
        "unit": "mm",
        "unitType": 3
      }
    }
  ]
}

定義

名前 説明
ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

HourlyForecast
HourlyForecastResult
IconCode

を表示 iconPhraseするイメージを表す数値。 詳細については、「Azure Mapsの天気予報サービス」を参照してください。

JsonFormat

応答の目的の形式。 サポートされているのは json 形式のみです。

UnitType

表示される単位の種類に関連付けられている数値 ID 値。 単位変換に使用できます。 詳細については、「Azure Mapsの天気予報サービス」を参照してください。

WeatherDataUnit

メトリック単位または帝国単位のいずれかでデータを返すように指定します。 既定値はメトリックです。

WeatherUnit

気象に関連する特定の単位の特定の値。

WindDetails

速度と方向を含む風の詳細が返されます。

WindDirection

風向

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細です。

message

string

エラー メッセージ。

target

string

エラーのターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

error オブジェクト。

HourlyForecast

名前 説明
ceiling

WeatherUnit

指定した単位のクラウドの上限。 天井は、最も低い雲の底の高さの測定です。

cloudCover

integer

クラウド カバーを表す割合。

date

string

ISO 8601 形式の予測の日付と時刻 (例: 2019-10-27T19:39:57-08:00)。

dewPoint

WeatherUnit

指定した単位の露点温度。 露点温度とは、飽和状態に達するために空気を冷却する必要がある温度です。

hasPrecipitation

boolean

降水の有無を示します。 True は降水の存在を示し、false は降水量がないことを示します。

ice

WeatherUnit

凍雨

iceProbability

integer

雪の確率を表す割合。 たとえば、'5' です。

iconCode

IconCode

を表示 iconPhraseするイメージを表す数値。 詳細については、「Azure Mapsの天気予報サービス」を参照してください。

iconPhrase

string

天気アイコンのフレーズの説明。

isDaylight

boolean

夏時間かどうかを指定します。 True は日の光を示します。

precipitationProbability

integer

降水の確率を表す割合。 たとえば、'20' です。

rain

WeatherUnit

rainProbability

integer

雨の確率を表す割合。 たとえば、'50' です。

realFeelTemperature

WeatherUnit

RealFeel™ Temperature が返されます。 日陰での温度の実際の感じ方について説明します。

relativeHumidity

integer

湿度とは、空気中に存在する水蒸気の量を、同じ温度での飽和に必要な量の割合で表したものです。

snow

WeatherUnit

snowProbability

integer

雪の確率を表す割合。 たとえば、'50' です。

temperature

WeatherUnit

返される温度。

totalLiquid

WeatherUnit

予測期間中の降水量に相当する合計液体。

uvIndex

integer

太陽からの紫外線の強度の測定。 サポートされる値は次のとおりです。

  • 0-2 - 太陽の紫外線や平均的な人からの危険性が低い。
  • 3-5 - 保護されていない太陽の暴露による害の中程度のリスク。
  • 6-7 - 保護されていない太陽の暴露による害のリスクが高い。
  • 8-10 - 保護されていない太陽の暴露による害の非常に高いリスク。
  • 11+ - 保護されていない太陽の暴露による危害の極端なリスク。
uvIndexPhrase

string

に関連付 uvIndexけられているフレーズ。

visibility

WeatherUnit

指定した単位での可視性。 オブジェクトまたはライトを明確に識別できる距離の測定値。

wetBulbTemperature

WeatherUnit

空気が飽和に達するまで一定の圧力でそれに水を蒸発させることによって冷却することができる温度。

wind

WindDetails

速度と方向を含む風の詳細が返されます。

windGust

WindDetails

風の突風。 風の突風は、風の速度の急激な、短い増加です。

HourlyForecastResult

名前 説明
forecasts

HourlyForecast[]

返された各時間の予測データ。

IconCode

を表示 iconPhraseするイメージを表す数値。 詳細については、「Azure Mapsの天気予報サービス」を参照してください。

名前 説明
1

Integer

10

Integer

11

Integer

12

Integer

13

Integer

14

Integer

15

Integer

16

Integer

17

Integer

18

Integer

19

Integer

2

Integer

20

Integer

21

Integer

22

Integer

23

Integer

24

Integer

25

Integer

26

Integer

27

Integer

28

Integer

29

Integer

3

Integer

30

Integer

31

Integer

32

Integer

33

Integer

34

Integer

35

Integer

36

Integer

37

Integer

38

Integer

39

Integer

4

Integer

40

Integer

41

Integer

42

Integer

43

Integer

44

Integer

5

Integer

6

Integer

7

Integer

8

Integer

9

Integer

JsonFormat

応答の目的の形式。 サポートされているのは json 形式のみです。

名前 説明
json

string

JavaScript オブジェクト表記データ交換形式

UnitType

表示される単位の種類に関連付けられている数値 ID 値。 単位変換に使用できます。 詳細については、「Azure Mapsの天気予報サービス」を参照してください。

名前 説明
0

Integer

1

Integer

10

Integer

11

Integer

12

Integer

13

Integer

14

Integer

15

Integer

16

Integer

17

Integer

18

Integer

19

Integer

2

Integer

20

Integer

21

Integer

22

Integer

3

Integer

31

Integer

4

Integer

5

Integer

6

Integer

7

Integer

8

Integer

9

Integer

WeatherDataUnit

メトリック単位または帝国単位のいずれかでデータを返すように指定します。 既定値はメトリックです。

名前 説明
imperial

string

帝国単位でデータを返します。 帝国システムの単位の例としては、華氏とマイルがあります。

metric

string

メトリック単位でデータを返します。 メトリック システムの単位の例としては、摂氏とキロメートルがあります。

WeatherUnit

気象に関連する特定の単位の特定の値。

名前 説明
unit

string

戻り値の単位の型。

unitType

UnitType

表示される単位の種類に関連付けられている数値 ID 値。 単位変換に使用できます。 詳細については、「Azure Mapsの天気予報サービス」を参照してください。

value

number

丸められた値。

WindDetails

速度と方向を含む風の詳細が返されます。

名前 説明
direction

WindDirection

風向

speed

WeatherUnit

指定した単位の風の速度。

WindDirection

風向

名前 説明
degrees

integer

方位角の風向き。真北から始まり、時計回りの方向に続きます。 北は 0 度、東は 90 度、南は 180 度、西は 270 度です。 指定できる値は 0 から 359 です。

localizedDescription

string

指定した言語の方向の省略形。