-
-
Notifications
You must be signed in to change notification settings - Fork 4
Barcodes API calls to OpenFoodFacts' API #2
Copy link
Copy link
Open
Description
The OpenFoodFacts' API URL for the barcodes differs with the URL for product names.
Because, here, with barcodes, you don't search with some keywords that could match with a product name.., but you need to search with a full barcode which refers to only one product (which isn't the case with product names).
So, apparently, the OpenFoodFacts URL for Barcodes will be like https://ssl-api.openfoodfacts.org/code/5400141054651.json and not like
So, should be: https://ssl-api.openfoodfacts.org/code/.json
You also even have this URL (which looks similar to the ones above...) https://world.openfoodfacts.org/api/v0/product/[barcode].json
Further documentation information:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels