Weather
List daily weather
Accès
Membre de l’organisation avec cette autorisation :
weather:read
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.
GET
Returns stored daily weather for the organization map center between two calendar dates (org timezone). Data is populated by scheduled sync tasks.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
from*stringMatch
^\d{4}-\d{2}-\d{2}$to*stringMatch
^\d{4}-\d{2}-\d{2}$Daily weather rows for the requested range
application/json- response
items*array<>latitude*numberlongitude*numbertimeZone*stringcurl -X GET 'https://api.tillor.eu/orgs//weather?from=string&to=string'Example Response
{ "items": [ { "date": "string", "temperatureMin": 0, "temperatureMax": 0, "temperatureMean": 0, "precipitationSum": 0, "weatherCode": -9007199254740991, "metadata": { "sourceType": "archived", "provider": "open-meteo", "api": "archive" } } ], "latitude": 0, "longitude": 0, "timeZone": "string"}