Weather API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用 weather.googleapis.com API。
服務:weather.googleapis.com
需要服務名稱 weather.googleapis.com
才能建立遠端程序呼叫 (RPC) 用戶端虛設常式。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],null,["# Weather API\n\nweather.googleapis.com API.\n\nService: weather.googleapis.com\n-------------------------------\n\nThe Service name `weather.googleapis.com` is needed to create RPC client stubs.\n\n[google.maps.weather.v1.Weather](/maps/documentation/weather/reference/rpc/google.maps.weather.v1#google.maps.weather.v1.Weather)\n---------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| [LookupCurrentConditions](/maps/documentation/weather/reference/rpc/google.maps.weather.v1#google.maps.weather.v1.Weather.LookupCurrentConditions) | Returns the current weather conditions at a given location. |\n| [LookupForecastDays](/maps/documentation/weather/reference/rpc/google.maps.weather.v1#google.maps.weather.v1.Weather.LookupForecastDays) | Returns up to 10 days of daily forecasts at a given location, starting from the current day. |\n| [LookupForecastHours](/maps/documentation/weather/reference/rpc/google.maps.weather.v1#google.maps.weather.v1.Weather.LookupForecastHours) | Returns up to 240 hours of hourly forecasts at a given location, starting from the current hour. |\n| [LookupHistoryHours](/maps/documentation/weather/reference/rpc/google.maps.weather.v1#google.maps.weather.v1.Weather.LookupHistoryHours) | Returns up to 24 hours of hourly historical weather data at a given location, starting from the last hour. |"]]