Real Time Weather Observations V1
Filed under: SUB Real Time Weather Observations, Uncategorized
Comments: None
Description:
The Earth Networks Observation Data Feed will provide you with a set of current condition data based on the location or station id requested. For Location the logic is in place to always return the best observation for the location requested based on age, distance and accuracy. For station id the logic is to always return observations for that station id.
Request URL for latitudelongitude:
https://earthnetworks.azure-api.net/data/observations/v1/current?location=<location>&locationtype=latitudelongitude&units=<units>&cultureinfo=<cultureinfo>&verbose=<verbose>&subscription-key=<Your subscription key>
Request URL for stationid:
https://earthnetworks.azure-api.net/data/observations/v1/current?providerid=<providerid>&stationid=<stationid>&units=<units>&cultureinfo=<cultureinfo>&verbose=<verbose>&subscription-key=<Your subscription key>
Request parameters:
locationtype | string | „Latitudelongitude“ or „stationid“ |
location (if location type is „latitudelongitude“) |
string | Latitude/Longitude in format: <Latitude>,<Longitude> |
providerid (if locationtype is „stationid“) | String | Must be valid ID from Search Weather Station API for station |
Optional parameters:
verbose | boolean |
Abbreviations (false) or long variable names (true) |
true, false |
units | string | Metric or English units | “metric” or “English” |
cultureinfo | string | Language | “en-en”, “es-es” |
Request headers:
Ocp-Apim-Subscription-Key | string | Subscription key which provides access to this API. Found in your Profile. |