Skip to content

Function: fetchHistory()

fetchHistory(startDate?, endDate?, geohashes?): Promise\<FireRiskReading[]>

Defined in: lib/api.ts:206

Fetches historical fire risk readings for specified zones and date range.

Parameters

Parameter Type Description
startDate? string ISO 8601 start date (optional)
endDate? string ISO 8601 end date (optional)
geohashes? string Comma-separated geohashes to filter (optional)

Returns

Promise\<FireRiskReading[]>

Array of historical risk readings