openfoodfacts / openfoodfacts-php

PHP wrapper for Open Food Facts
https://packagist.org/packages/openfoodfacts/openfoodfacts-php
MIT License
54 stars 35 forks source link

Implementation of v2 Search #24

Open Dwarfex opened 3 years ago

Dwarfex commented 3 years ago

What

See: https://wiki.openfoodfacts.org/Open_Food_Facts_Search_API_Version_2

The existing Open Food Facts search API is outdated and hacky (it was built on top of the OFF web site search form and is unnecessarily convoluted) and does not support some of the requirements for the Project:Personalized_Search (in particular being able to retrieve a given set of products using their barcodes). We are thus creating a new Open Food Facts Search API Version 2 that will be simpler but also more powerful.

Part of

teolemon commented 2 months ago
Benoit382 commented 2 months ago

@teolemon Where the openapi.json file is generated ? I would like to fix it

teolemon commented 2 months ago

Great 👍 It's located at https://github.com/openfoodfacts/search-a-licious

Benoit382 commented 2 months ago

The pull request is ready https://github.com/openfoodfacts/openfoodfacts-php/pull/62