Changes

Jump to navigation Jump to search
Line 1: Line 1:  +
== New documentation of the API ==
 +
* [https://openfoodfacts.github.io/api-documentation/ API V2 - Comprehensive but not OpenAPI compliant] - It contains uses cases for displaying a product, and letting your users add the data required to get the Nutri-Score, the NOVA classification, additives, and the Eco-Score.
 +
* [https://openfoodfacts.github.io/openfoodfacts-server/reference/api/ API V2 - new OpenAPI documentation] - Work in Progress
 +
* [https://openfoodfacts.github.io/openfoodfacts-server/reference/api-v3/ API V3 - new OpenAPI documentation] - Work in Progress
 +
 
== States ==
 
== States ==
   Line 4: Line 9:     
Maybe not all states are interesting for final user, allow filter ? Not possible actually.
 
Maybe not all states are interesting for final user, allow filter ? Not possible actually.
  −
=== Example ===
  −
  −
http://api.openfoodfacts.info:8010/v0/states
      
=== API ===
 
=== API ===
Line 13: Line 14:  
==== Endpoint ====
 
==== Endpoint ====
   −
GET api.openfoodfacts.org/v0/states
+
GET world.openfoodfacts.net/states.json
    
==== Parameters ====
 
==== Parameters ====

Navigation menu