Changes

Jump to navigation Jump to search
397 bytes added ,  16:20, 8 January 2016
Line 13: Line 13:  
=== Countries ===
 
=== Countries ===
 
You can either use the global (world) for locales (fr, en…)
 
You can either use the global (world) for locales (fr, en…)
 +
 +
A few things to note:
 +
* if you use a country subdomain instead of world, you get products for that countries only which might change the language but also the name of the fields, in that case you need to use the local language
 +
** http://fr.openfoodfacts.org/categorie/pizzas.json
 +
** an alternative is to specify the language in the subdomain: http://fr-en.openfoodfacts.org/category/pizzas.json
    
=== Reading a product ===
 
=== Reading a product ===

Navigation menu