You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to ensure the country your users are in:
- Asking them explicitly at startup, and storing the value
- Geofencing your app to just one country
- Using the phones or the IP address (using eg GeoIP) to infer a country
You need to serve the matching Eco-Score value
You can ask for a country specific Eco-Score
If your users are outside France, you need to clearly display the experimental disclaimer at least once.
in this case, whose country are those grades computed for?
I got the same result ({"ecoscore_grade":"d","ecoscore_score":39,"nutriscore_grade":"d","nutriscore_score":17}) after replacing world. with fr., es., it., be., de. and nl. - am I just unlucky or is the URL wrong? Btw same result with pt., which is not in the OP country list.
If I try to replace the field names like ecoscore_grade_nl, there's not matching output for this particular field
In short, it looks like we have nutriscore and ecoscore fields computed only one way, with no way to specify a country.
What
to support Document the by country fields for the Eco-Score openfoodfacts-server#10183
Add this chunk of documentation as a comment
Potential block
The text was updated successfully, but these errors were encountered: