GET weather?latitude={latitude}&longitude={longitude}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
latitude | decimal number |
Required |
|
longitude | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DailyForecastName | Description | Type | Additional information |
---|---|---|---|
Day | date |
None. |
|
IconId | integer |
None. |
|
Min | integer |
None. |
|
Max | integer |
None. |
|
RainChance | integer |
None. |
|
RainMM | integer |
None. |
|
Title | string |
None. |
|
WindDirection | string |
None. |
|
WindSpeed | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "day": "2024-11-20T21:08:48.7267487+00:00", "iconId": 2, "min": 3, "max": 4, "rainChance": 5, "rainMM": 6, "title": "sample string 7", "windDirection": "sample string 8", "windSpeed": 9 }, { "day": "2024-11-20T21:08:48.7267487+00:00", "iconId": 2, "min": 3, "max": 4, "rainChance": 5, "rainMM": 6, "title": "sample string 7", "windDirection": "sample string 8", "windSpeed": 9 } ]
application/xml, text/xml
Sample:
<ArrayOfDailyForecast xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models"> <DailyForecast> <Day>2024-11-20T21:08:48.7267487+00:00</Day> <IconId>2</IconId> <Max>4</Max> <Min>3</Min> <RainChance>5</RainChance> <RainMM>6</RainMM> <Title>sample string 7</Title> <WindDirection>sample string 8</WindDirection> <WindSpeed>9</WindSpeed> </DailyForecast> <DailyForecast> <Day>2024-11-20T21:08:48.7267487+00:00</Day> <IconId>2</IconId> <Max>4</Max> <Min>3</Min> <RainChance>5</RainChance> <RainMM>6</RainMM> <Title>sample string 7</Title> <WindDirection>sample string 8</WindDirection> <WindSpeed>9</WindSpeed> </DailyForecast> </ArrayOfDailyForecast>