Changes

Jump to navigation Jump to search
217 bytes added ,  18:37, 1 October 2016
Line 42: Line 42:  
See http://fr.openfoodfacts.org/data or http://en.openfoodfacts.org/data
 
See http://fr.openfoodfacts.org/data or http://en.openfoodfacts.org/data
 
The requested subdomain will be the locale fetched.
 
The requested subdomain will be the locale fetched.
 +
 +
==== Structure of the call ====
    
* http://world.openfoodfacts.org/api/v0/product/737628064502.xml
 
* http://world.openfoodfacts.org/api/v0/product/737628064502.xml
 
* http://world.openfoodfacts.org/api/v0/product/737628064502.json
 
* http://world.openfoodfacts.org/api/v0/product/737628064502.json
 +
 +
The final number must be a valid barcode.
 +
 +
==== Status codes ====
 +
===== If a product is not found =====
 +
<pre>
 +
{"status_verbose":"product not found","code":"32421","status":0}
 +
</pre>
 +
    
==== Fields within a product ====
 
==== Fields within a product ====

Navigation menu