boaviztapi
boaviztapi copied to clipboard
Impact choice as parameter
Problem
Impacts can't be chosen in a request - all impacts are returned.
Solution
Add a query parameter in each route containing a list of impacts name.
['gwp', 'pe', 'adp']
In bottom-up service return only the impact in the dataset.
Additional context or elements
The following impacts can be retrieved :
Impact name | code |
---|---|
Abiotic depletion | adp |
global warming potential | gwp |
primary energy use | pe |