requestBln3Score
@nmi-agro/fdm-source / fdm-calculator/src / requestBln3Score
Function: requestBln3Score()
requestBln3Score(
inputs):Promise<Bln3Score>
Defined in: fdm-calculator/src/bln3/index.ts:19
Requests a BLN3 score from the NMI API for a single field.
Calls POST /maatwerk/bln3/score/field with the provided field data and
returns per-indicator status, target, index, impact, and score values.
Parameters
inputs
Field data and NMI API key. Only a_lat, a_lon, and
nmiApiKey are required; all other fields improve calculation quality.
Returns
Promise<Bln3Score>
A promise resolving to a Bln3Score with indicators and
optional aggregations.
Throws
If the NMI API key is not provided or the API request fails.