barcodebuddy icon indicating copy to clipboard operation
barcodebuddy copied to clipboard

Integrate barcode resolver/database for Czechia

Open moookino opened this issue 2 years ago • 1 comments

Hi,

Is it possible to use something like https://www.kaloricketabulky.cz to resolve barcodes after scan? It seems they have https://www.kaloricketabulky.cz/autocomplete/foodstuff-activity-meal?query=<barcodenumber>&format=json which could be used to list product and all relevant info in json format and map those

Here's response example (there's might be duplicates for the same barcode as those are user entered)

[
  {
    "clazz": "foodstuff",
    "id": "debcb64b88104a59aface5fc2cc178e2",
    "url": "freche-freunde-knusper-flips-mais-karotte-erdbar",
    "title": "Freche Freunde Knusper-Flips Mais & Karotte erdbär",
    "type": null,
    "unit": "g",
    "value": "396",
    "favorite": false,
    "energy": null,
    "energyUnit": "kcal",
    "status": 2,
    "visibility": "public",
    "isLiquid": false,
    "hasImage": false,
    "multiplier": null,
    "locked": false
  }

moookino avatar Jan 21 '24 17:01 moookino

Thanks, I will add this in the future

Forceu avatar Jan 29 '24 16:01 Forceu