API/States: Difference between revisions
(→API) |
|||
Line 14: | Line 14: | ||
==== Endpoint ==== | ==== Endpoint ==== | ||
GET | GET world.openfoodfacts.net/states.json | ||
==== Parameters ==== | ==== Parameters ==== |
Revision as of 13:31, 15 March 2024
New documentation of the API
- 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.
- API V2 - new OpenAPI documentation - Work in Progress
- API V3 - new OpenAPI documentation - Work in Progress
States
List of possible states - http://world.openfoodfacts.org/states, see also: State
Maybe not all states are interesting for final user, allow filter ? Not possible actually.
API
Endpoint
GET world.openfoodfacts.net/states.json
Parameters
(none)