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

Allow use of Open Beauty Facts #53

Open
davidjr82 opened this issue Jun 10, 2024 · 0 comments
Open

Allow use of Open Beauty Facts #53

davidjr82 opened this issue Jun 10, 2024 · 0 comments

Comments

@davidjr82
Copy link

Problem

OpenFoodFacts has different APIs, for example, the beauty API for Cosmetic products. The API is 98% similar to food API.

Right now the package can only use the food API because it is harcoded in the parameter of the method setApi in OpenFoodFactsApiWrapper and the is no way to change it since it is called directly from the constructor.

Proposed solution

Allow to modify the API to query the beauty (cosmetic) products instead of the food products.

@teolemon teolemon changed the title Use OpenBeautyFacts Allow use of Open Beauty Facts Sep 26, 2024
@teolemon teolemon removed the ✨ enhancement New feature or request label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Discuss & Validate
Development

No branches or pull requests

2 participants