Get Plane token
For registered users with API key only.
- since r1
- limits: registered
Get a shortcut token for a specific location (defined by latitude and longitude) and a specific plane orientation (defined by declination and azimuth).
http://api.forecast.solar/r1/plane/<key>/<latitude>/<longitude>/<declination>/<azimuth>
- key: personal API key for registered users
- latitude:
-90
(south) …90
(north) - longitude:
-180
(west) …180
(east) - declination: plane declination,
0
(horizontal) …90
(vertical) - azimuth: plane orientation,
-180
…180
(-180 = north, -90 = east, 0 = south, 90 = west, 180 = north)
Example
Get plane token as plain text for 51.23° north, 12.34° east, for a collector with a declination of 37° looking south (0°)
curl -H "Accept: text/csv" http://api.forecast.solar/r1/plane/<your key here>/51.23/12.34/37/0