pytuflow.ArrApiClient.build_params

pytuflow.ArrApiClient.build_params#

ArrApiClient.build_params(config)#

Builds the query parameters for the API request, based on the config’s site location (or catchment boundary) and which optional layers are required (e.g. climate change). Used both for GET point queries and as the form fields of a POST catchment-boundary upload (see fetch()).

Parameters:

config (ArrConfig) – The ARR configuration to build the request parameters from.

Returns:

The query parameters (or form fields) for the request.

Return type:

dict