curl --request GET \
--url https://api.example.com/v1/geo/sun-position \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Calculate approximate sun position (azimuth and elevation).
curl --request GET \
--url https://api.example.com/v1/geo/sun-position \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Latitude
-90 <= x <= 90Longitude
-180 <= x <= 180Year
Month
1 <= x <= 12Day
1 <= x <= 31Hour (24h format)
0 <= x <= 23Successful Response