API/OpenBeautyFacts: Difference between revisions

From Open Food Facts wiki
No edit summary
No edit summary
Line 2: Line 2:
<Back to [[API]](Required reading)
<Back to [[API]](Required reading)


The new version of the documentation is available here:
* [https://world.openfoodfacts.org/files/api-documentation.html Documentation as HTML on Open Food Facts' servers]
* [https://documenter.getpostman.com/view/8470508/SVtN3Wzy Documentation on Postman] (might be slow)


== Open Beauty Facts experimental and specific APIs ==
== Open Beauty Facts experimental and specific APIs ==

Revision as of 14:53, 5 February 2021

<Back to API(Required reading)

The new version of the documentation is available here:

Open Beauty Facts experimental and specific APIs

Product in Open Beauty Facts

Ingredients

Very experimental. Do not rely on this for allergen or ingredient parsing yet.

List of ingredients detected by the current experimental parser

Products where the current experimental parser could not detect aluminium salts

Products where the current experimental parser could detect aluminium salts

Periods after Opening

Periods after opening taxonomy

List of periods after opening

List of products with a given period after opening

Values

"periods_after_opening_tags":["en:12-months"]
"periods_after_opening_hierarchy":["en:12-months"] 
"periods_after_opening":"12 M"
"periods_after_opening_debug_tags":[]

Images

No API is currently available, but the image path is predictable.

https://static.openbeautyfacts.org/images/lang/en/periods_after_opening/1-months.90x90.svg
…
https://static.openbeautyfacts.org/images/lang/en/periods_after_opening/12-months.90x90.svg