Weather API
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
weather.googleapis.com API'si.
Hizmet: weather.googleapis.com
Bu hizmeti çağırmak için Google tarafından sağlanan istemci kitaplıklarını kullanmanızı öneririz. Uygulamanızın bu hizmeti çağırmak için kendi kitaplıklarınızı kullanması gerekiyorsa API isteklerini gönderirken aşağıdaki bilgileri kullanın.
Keşif dokümanı
Keşif belgesi, REST API'leri tanımlamak ve kullanmak için makine tarafından okunabilir bir spesifikasyondur. İstemci kitaplıkları, IDE eklentileri ve Google API'leriyle etkileşime geçen diğer araçları oluşturmak için kullanılır. Bir hizmet birden fazla keşif dokümanı sağlayabilir. Bu hizmet, aşağıdaki keşif dokümanını sağlar:
Hizmet uç noktası
Hizmet uç noktası, bir API hizmetinin ağ adresini belirten bir ana URL'dir. Bir hizmetin birden fazla hizmet uç noktası olabilir. Bu hizmetin aşağıdaki hizmet uç noktası vardır ve aşağıdaki tüm URI'ler bu hizmet uç noktasıyla ilgilidir:
https://weather.googleapis.com
Yöntemler |
lookup |
GET /v1/currentConditions:lookup
Belirli bir konumdaki mevcut hava koşullarını döndürür. |
Yöntemler |
lookup |
GET /v1/forecast/days:lookup
Belirli bir konumda geçerli günden başlayarak 10 güne kadar günlük tahminleri döndürür. |
Yöntemler |
lookup |
GET /v1/forecast/hours:lookup
Belirli bir konumda, geçerli saatten itibaren 240 saate kadar saatlik tahminleri döndürür. |
Yöntemler |
lookup |
GET /v1/history/hours:lookup
Belirli bir konumda son saatten itibaren 24 saate kadar saatlik geçmiş hava durumu verilerini döndürür. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[],[],null,["# Weather API\n\nweather.googleapis.com API.\n\n- [REST Resource: v1.currentConditions](#v1.currentConditions)\n- [REST Resource: v1.forecast.days](#v1.forecast.days)\n- [REST Resource: v1.forecast.hours](#v1.forecast.hours)\n- [REST Resource: v1.history.hours](#v1.history.hours)\n\nService: weather.googleapis.com\n-------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://weather.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://weather.googleapis.com`\n\nREST Resource: [v1.currentConditions](/maps/documentation/weather/reference/rest/v1/currentConditions)\n------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| [lookup](/maps/documentation/weather/reference/rest/v1/currentConditions/lookup) | `GET /v1/currentConditions:lookup` Returns the current weather conditions at a given location. |\n\nREST Resource: [v1.forecast.days](/maps/documentation/weather/reference/rest/v1/forecast.days)\n----------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| [lookup](/maps/documentation/weather/reference/rest/v1/forecast.days/lookup) | `GET /v1/forecast/days:lookup` Returns up to 10 days of daily forecasts at a given location, starting from the current day. |\n\nREST Resource: [v1.forecast.hours](/maps/documentation/weather/reference/rest/v1/forecast.hours)\n------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| [lookup](/maps/documentation/weather/reference/rest/v1/forecast.hours/lookup) | `GET /v1/forecast/hours:lookup` Returns up to 240 hours of hourly forecasts at a given location, starting from the current hour. |\n\nREST Resource: [v1.history.hours](/maps/documentation/weather/reference/rest/v1/history.hours)\n----------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| [lookup](/maps/documentation/weather/reference/rest/v1/history.hours/lookup) | `GET /v1/history/hours:lookup` Returns up to 24 hours of hourly historical weather data at a given location, starting from the last hour. |"]]