Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to return the JSON files in ingredients.pl #532

Open
Tracked by #5523
teolemon opened this issue Oct 29, 2016 · 2 comments
Open
Tracked by #5523

Add option to return the JSON files in ingredients.pl #532

teolemon opened this issue Oct 29, 2016 · 2 comments
Labels
API READ All READ APIs include Product, Search… API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) Fixed ? This issue might have been fixed. We can close them once we verify that they have. 🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis 🥗 Ingredients OCR

Comments

@teolemon
Copy link
Member

teolemon commented Oct 29, 2016

What

Part of

@teolemon teolemon added the API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) label Dec 11, 2016
@teolemon teolemon modified the milestone: API Dec 11, 2016
@teolemon teolemon added API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) and removed API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) labels Dec 11, 2016
@stephanegigandet
Copy link
Contributor

This is now supported with &annotations=1 -> the json file is embedded in the response.

https://world.openfoodfacts.org/cgi/ingredients.pl?code=3760199620232&id=ingredients_fr&process_image=1&ocr_engine=google_cloud_vision&annotations=1

@hangy
Copy link
Member

hangy commented Jun 20, 2019

The content type seems to be wrong. It's content-type: text/html; charset=UTF-8. @stephanegigandet

@VaiTon VaiTon reopened this Jun 20, 2019
@teolemon teolemon added 🥗 Ingredients API READ All READ APIs include Product, Search… 🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis labels Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API READ All READ APIs include Product, Search… API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) Fixed ? This issue might have been fixed. We can close them once we verify that they have. 🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis 🥗 Ingredients OCR
Projects
Status: To discuss and validate
Development

No branches or pull requests

4 participants