List of products by barcode beginning
kozlown opened this issue · comments
Create method getProductsByBarcodeBeginning(barcodeBeginning)
Where barcodeBeginning is a String
. (It must automatically add xxxx[...]
)
example:
await OFF.getProductsByBarcodeBeginning('3596710')
// should fetch https://world.openfoodfacts.org/code/3596710xxxxxx.json
It must work for the following endpoint:
I would like to work on this issue.