Get All Shadows
curl --request GET \
--url https://solarmoney.up.railway.app/api/shadowsimport requests
url = "https://solarmoney.up.railway.app/api/shadows"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://solarmoney.up.railway.app/api/shadows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Buildings & Shadows
Get All Shadows
Fetch OSM buildings inside the bbox, compute their shadow polygons via pvlib, and return a GeoJSON FeatureCollection.
GET
/
api
/
shadows
Get All Shadows
curl --request GET \
--url https://solarmoney.up.railway.app/api/shadowsimport requests
url = "https://solarmoney.up.railway.app/api/shadows"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://solarmoney.up.railway.app/api/shadows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}