|
|
Line 4: |
Line 4: |
| [[API|β Back to API]] (required read) | | [[API|β Back to API]] (required read) |
|
| |
|
| Β | | To use the read API, please check out the [https://openfoodfacts.github.io/openfoodfacts-server/api/ API documentation]. |
| Β | |
| === The new version of the documentation is available here ===
| |
| * [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
| |
| Β | |
| '''Please send a User-Agent HTTP Header with the name of the app/service querying, the version, system and an URL if you have one''', so that you are not blocked by mistake.
| |
| Β | |
| Example: <code>User-Agent: CoolFoodApp - Android - Version 1.0 - https://theurlofthesiteofyourcoolfoodapp.com</code>
| |
|
| |
|
| == Downloading static data == | | == Downloading static data == |