Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Open Food Facts Search API Version 2
(view source)
Revision as of 17:53, 26 August 2020
345 bytes added
,
17:53, 26 August 2020
no edit summary
Line 35:
Line 35:
For OR queries, use | to separate values
For OR queries, use | to separate values
* labels_tags=en:organic|en:fair-trade|en:some-other-label
* labels_tags=en:organic|en:fair-trade|en:some-other-label
+
+
=== Conditions on nutrients ===
+
+
* Per 100g or per serving
+
** energy-kj_100g < 200
+
** sugars_serving > 10
+
* Per the product as sold, or prepared
+
** saturated-fat_100g (as sold)
+
** salt_prepared_serving (prepared, per serving)
== Development and deployment ==
== Development and deployment ==
Line 45:
Line 54:
=== Nutrients ===
=== Nutrients ===
+
+
* [https://github.com/openfoodfacts/openfoodfacts-server/issues/4075 New search API - conditions on nutrients #4075]
=== Other fields ===
=== Other fields ===
Stephane
Bureaucrats
,
Administrators
1,073
edits
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
Where am I?
Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
Open Beauty Facts wiki
Main page
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages