Weather API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
weather.googleapis.com API。
服务:weather.googleapis.com
创建 RPC 客户端存根需要名为 weather.googleapis.com
的服务。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]