Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
API
(view source)
Revision as of 11:08, 2 October 2016
573 bytes added
,
11:08, 2 October 2016
→Using the new SSL API
Line 21:
Line 21:
https://ssl-api.openfoodfacts.org
https://ssl-api.openfoodfacts.org
</pre>
</pre>
+
+
== Conventions ==
+
+
* fields that end with _t are dates in the UNIX timestamp format (number of seconds since Jan 1st 1970)
+
* fields that end with _datetime are dates in the iso8601 format: yyyy-mm-ddThh:mn:ssZ
+
* fields that end with _tags are comma separated list of tags (e.g. categories_tags is the set of normalized tags computer from the categories field)
+
* fields that end with a language 2 letter code (e.g. fr for French) is the set of tags in that language
+
* fields that end with _100g correspond to the amount of a nutriment (in g) for 100 g or 100 ml of product
== READ API Documentation ==
== READ API Documentation ==
Teolemon
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
6,724
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
📍Where am I?
🍊Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
🧴 Open Beauty Facts wiki
Main page
Deep dive per topic
All topics
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages