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

Use OpenBeautyFacts #53

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

Use OpenBeautyFacts #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant