Jump to content

API: Difference between revisions

64 bytes added ,  15 September 2021
m
Added mention of the fact that keys must match the BSON syntax.
No edit summary
m (Added mention of the fact that keys must match the BSON syntax.)
Line 64: Line 64:
* fields that end with a language 2 letter code (e.g. fr for French) is the set of tags in that language
* fields that end with a language 2 letter code (e.g. fr for French) is the set of tags in that language
* fields that end with _100g correspond to the amount of a nutriment (in g) for 100 g or 100 ml of product
* fields that end with _100g correspond to the amount of a nutriment (in g) for 100 g or 100 ml of product
* keys must match BSON syntax, and may not contain `.` or `$`.


=== Ready made code you can use in your app ===
=== Ready made code you can use in your app ===
2

edits