Weather
Professional
Get weather forecast for a location
get/{apikey}/weather/{lat}/{lon}
Request
- Base URLhttps://api.forecast.solar (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
apikeystring required
Your personal API key
latnumber float required
Latitude of location
lonnumber float required
Longitude of location
Headers
X-Delimiterstring
Dataset delimiter in CSV response, default '|'
X-Separatorstring
Value separator in CSV response, default ';', for a tabulator use string 'TAB'
Response
OK
Example response
{
"result": [
{
"datetime": "2016-08-02 00:00:00",
"timestamp": 1470088800,
"sky": 0.96,
"temperature": 13.8,
"condition": "Clear",
"icon": "clear-night",
"wind_speed": 7,
"wind_degrees": 217
}
],
"message": {
"type": "success"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.