You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: