Chart
Professional
Build chart token for one solar plane
get/{apikey}/chart/{lat}/{lon}/{dec1}/{az1}/{kwp1}
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
dec1number float required
1st solar plane declination, 0 = horizontal, 90 = vertical
az1number float required
1st solar plane azimuth, West = 90, South = 0, East = -90
kwp1number float required
1st solar plane max. peak power in kilo watt
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": {
"token": "0a1b2c3d",
"url": "https://api.forecast.solar/chart/0a1b2c3d.js",
"tag": "<script defer src=\"https://api.forecast.solar/chart/0a1b2c3d.js\"><\\/script>"
},
"message": {
"type": "success"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.