GET API/Weather/Location?APIKey={APIKey}&Latitude={Latitude}&Longitude={Longitude}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
APIKey | string |
Required |
|
Latitude | decimal number |
Required |
|
Longitude | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
WeatherSummaryName | Description | Type | Additional information |
---|---|---|---|
ObservedTime | date |
None. |
|
ExpireTime | date |
None. |
|
Summary | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ObservedTime": "2024-11-21T15:11:19.9883006+00:00", "ExpireTime": "2024-11-21T15:11:19.9883006+00:00", "Summary": "sample string 3" }
application/xml, text/xml
Sample:
<WeatherSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherConditionAPI.Weather"> <ExpireTime>2024-11-21T15:11:19.9883006+00:00</ExpireTime> <ObservedTime>2024-11-21T15:11:19.9883006+00:00</ObservedTime> <Summary>sample string 3</Summary> </WeatherSummary>