Changes

Jump to navigation Jump to search
1 byte removed ,  21:50, 19 October 2016
no edit summary
Line 18: Line 18:  
* You should do all your test edits on http://world.openfoodfacts.net (ask for the password on Slack)
 
* You should do all your test edits on http://world.openfoodfacts.net (ask for the password on Slack)
 
* Do not hesitate to create a global account for your app if you don't want to implement Open Food Facts user creation in your app right now.
 
* Do not hesitate to create a global account for your app if you don't want to implement Open Food Facts user creation in your app right now.
 +
=== Conventions for the API ===
 +
* 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
 
=== Bugs ===
 
=== Bugs ===
 
==== Reporting bugs ====
 
==== Reporting bugs ====
Line 25: Line 31:  
* API bugs: https://github.com/openfoodfacts/openfoodfacts-server/labels/api
 
* API bugs: https://github.com/openfoodfacts/openfoodfacts-server/labels/api
 
* API milestone: https://github.com/openfoodfacts/openfoodfacts-server/milestone/8
 
* API milestone: https://github.com/openfoodfacts/openfoodfacts-server/milestone/8
=== Conventions for the API ===
  −
* 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 ==
 
=== Downloading static data ===
 
=== Downloading static data ===

Navigation menu