Changes

Jump to navigation Jump to search
321 bytes added ,  13:38, 12 March 2017
Line 84: Line 84:     
=== JSON interface ===
 
=== JSON interface ===
 +
=== Pagination of results ===
 +
If you're looking for all products within a facet (eg: https://fr-en.openfoodfacts.org/category/pizzas.json), you'll only have the 1st page.
 +
To move from page to page:
 +
<pre>
 +
https://fr-en.openfoodfacts.org/category/pizzas/1.json
 +
https://fr-en.openfoodfacts.org/category/pizzas/2.json
 +
</pre>
 
=== Countries and Language of the Response ===
 
=== Countries and Language of the Response ===
 
You can either use the global (https://world.openfoodfacts.org, https://ssl-api.openfoodfacts.org) or local (https://fr.openfoodfacts.org,https://en.openfoodfacts.org…) domains for your API queries
 
You can either use the global (https://world.openfoodfacts.org, https://ssl-api.openfoodfacts.org) or local (https://fr.openfoodfacts.org,https://en.openfoodfacts.org…) domains for your API queries

Navigation menu