=== The new version of the documentation is available here ===
+
== Use the API ==
−
* [https://openfoodfacts.github.io/api-documentation Latest version of the documentation]
+
To use the read API, please check out the [https://openfoodfacts.github.io/openfoodfacts-server/api/ API documentation].
−
−
'''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 ==
Line 21:
Line 17:
The character that separates fields is (tabulation).
The character that separates fields is (tabulation).
+
+
For an example on how to import it in postgres, see https://iderr.github.io/p/week-1-new-project-on-openfoodfacts/