Changes

Jump to navigation Jump to search
m
→‎Data: Switch from API v0 to API v2
Line 372: Line 372:  
** API
 
** API
 
*** product URL on OFF: https://fr.openfoodfacts.org/produit/3560070223145/pistaches-grillees-carrefour
 
*** product URL on OFF: https://fr.openfoodfacts.org/produit/3560070223145/pistaches-grillees-carrefour
*** add "/api/v0" to get JSON result: https://fr.openfoodfacts.org/api/v0/produit/3560070223145/pistaches-grillees-carrefour
+
*** add "/api/v2" to get JSON result: https://fr.openfoodfacts.org/api/v2/produit/3560070223145/pistaches-grillees-carrefour
 
* Sorted lists with counts of individual ingredients for a subset of product
 
* Sorted lists with counts of individual ingredients for a subset of product
 
** https://fr.openfoodfacts.org/ingredients?stats=1
 
** https://fr.openfoodfacts.org/ingredients?stats=1

Navigation menu