sachin commited on
Commit
9598ec0
1 Parent(s): 510d2c1

json parser

Browse files
Files changed (3) hide show
  1. data/articles.json +1 -0
  2. recipes/engine.py +6 -1
  3. recipes/views.py +3 -1
data/articles.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"id":"8376291","name":"Organic Cherry Tomatoes","expiresAt":"2024-09-23","price":2.99,"weight":"250g","packagingUnit":"punnet","available":48},{"id":"5728364","name":"Sweet Potatoes","expiresAt":"2024-10-15","price":1.79,"weight":"1kg","packagingUnit":"bag","available":23},{"id":"9126483","name":"Broccoli Florets","expiresAt":"2024-09-18","price":2.49,"weight":"400g","packagingUnit":"bag","available":17},{"id":"4537281","name":"Red Bell Peppers","expiresAt":"2024-12-02","price":1.29,"weight":"500g","packagingUnit":"each","available":62},{"id":"1928374","name":"Baby Spinach","expiresAt":"2024-09-27","price":3.99,"weight":"150g","packagingUnit":"bag","available":8},{"id":"6273849","name":"White Onions","expiresAt":"2025-01-10","price":0.79,"weight":"1kg","packagingUnit":"bag","available":41},{"id":"3847295","name":"Carrots","expiresAt":"2024-11-28","price":1.49,"weight":"1kg","packagingUnit":"bag","available":35},{"id":"7129384","name":"Garlic Bulb","expiresAt":"2025-03-15","price":0.99,"weight":"100g","packagingUnit":"each","available":78},{"id":"2938475","name":"Green Zucchini","expiresAt":"2024-09-21","price":1.99,"weight":"500g","packagingUnit":"each","available":29},{"id":"8472931","name":"Asparagus","expiresAt":"2024-09-16","price":4.99,"weight":"250g","packagingUnit":"bunch","available":12},{"id":"5362819","name":"Mushrooms","expiresAt":"2024-09-29","price":2.79,"weight":"250g","packagingUnit":"punnet","available":5},{"id":"1928379","name":"Avocados","expiresAt":"2024-10-05","price":2.29,"weight":"200g","packagingUnit":"each","available":34},{"id":"7283944","name":"Cucumbers","expiresAt":"2024-11-12","price":1.19,"weight":"500g","packagingUnit":"each","available":27},{"id":"9182736","name":"Kale","expiresAt":"2024-09-19","price":3.49,"weight":"200g","packagingUnit":"bag","available":14},{"id":"4827395","name":"Red Onions","expiresAt":"2025-02-22","price":0.89,"weight":"1kg","packagingUnit":"bag","available":53},{"id":"2738491","name":"Lemons","expiresAt":"2024-12-18","price":0.69,"weight":"100g","packagingUnit":"each","available":89},{"id":"6372819","name":"Ginger","expiresAt":"2025-04-05","price":1.59,"weight":"100g","packagingUnit":"each","available":62},{"id":"8293746","name":"Celery Stalks","expiresAt":"2024-10-29","price":1.89,"weight":"400g","packagingUnit":"bunch","available":21},{"id":"3748291","name":"Green Beans","expiresAt":"2024-09-25","price":2.69,"weight":"250g","packagingUnit":"bag","available":19},{"id":"1827364","name":"Sweet Corn","expiresAt":"2024-11-08","price":1.39,"weight":"500g","packagingUnit":"each","available":47},{"id":"5728391","name":"Butternut Squash","expiresAt":"2024-10-21","price":2.49,"weight":"1kg","packagingUnit":"each","available":12},{"id":"9126423","name":"Cauliflower Head","expiresAt":"2024-09-26","price":1.99,"weight":"700g","packagingUnit":"each","available":25},{"id":"4537221","name":"Yellow Bell Peppers","expiresAt":"2024-10-12","price":1.39,"weight":"500g","packagingUnit":"each","available":31},{"id":"1928314","name":"Arugula","expiresAt":"2024-09-19","price":2.99,"weight":"100g","packagingUnit":"bag","available":6},{"id":"6273899","name":"Shallots","expiresAt":"2024-11-05","price":1.29,"weight":"500g","packagingUnit":"bag","available":38},{"id":"3847235","name":"Parsnips","expiresAt":"2024-10-08","price":1.79,"weight":"1kg","packagingUnit":"bag","available":29},{"id":"7129324","name":"Fresh Turmeric Root","expiresAt":"2025-02-18","price":2.19,"weight":"100g","packagingUnit":"each","available":15},{"id":"2938415","name":"Yellow Zucchini","expiresAt":"2024-12-29","price":2.29,"weight":"500g","packagingUnit":"each","available":22},{"id":"8472991","name":"Brussels Sprouts","expiresAt":"2024-10-14","price":3.49,"weight":"500g","packagingUnit":"bag","available":18},{"id":"5362899","name":"Portobello Mushrooms","expiresAt":"2025-01-22","price":3.99,"weight":"250g","packagingUnit":"punnet","available":11},{"id":"1928396","name":"Roma Tomatoes","expiresAt":"2024-09-28","price":2.59,"weight":"500g","packagingUnit":"punnet","available":43},{"id":"7283965","name":"Leeks","expiresAt":"2024-11-19","price":1.49,"weight":"500g","packagingUnit":"each","available":21},{"id":"9182796","name":"Swiss Chard","expiresAt":"2025-03-08","price":2.79,"weight":"200g","packagingUnit":"bag","available":16},{"id":"4827315","name":"Pickling Onions","expiresAt":"2024-10-25","price":1.19,"weight":"500g","packagingUnit":"bag","available":47},{"id":"2738411","name":"Limes","expiresAt":"2024-12-05","price":0.59,"weight":"100g","packagingUnit":"each","available":74},{"id":"6372899","name":"Fresh Galangal","expiresAt":"2025-01-15","price":2.89,"weight":"100g","packagingUnit":"each","available":8},{"id":"8293766","name":"Fennel Bulb","expiresAt":"2024-11-22","price":1.69,"weight":"400g","packagingUnit":"each","available":26},{"id":"3748211","name":"Sugar Snap Peas","expiresAt":"2024-09-17","price":3.29,"weight":"250g","packagingUnit":"bag","available":14},{"id":"1827394","name":"Rainbow Chard","expiresAt":"2025-02-01","price":3.79,"weight":"200g","packagingUnit":"bag","available":9},{"id":"9876543","name":"Radishes","expiresAt":"2024-10-03","price":1.09,"weight":"250g","packagingUnit":"bunch","available":33},{"id":"3456789","name":"Organic Spinach","expiresAt":"2024-10-25","price":2.99,"weight":"200g","packagingUnit":"bag","available":17},{"id":"1298765","name":"Green Bell Pepper","expiresAt":"2024-09-22","price":0.79,"weight":"150g","packagingUnit":"each","available":28},{"id":"9876547","name":"Baby Carrots","expiresAt":"2024-11-01","price":1.49,"weight":"500g","packagingUnit":"bag","available":42},{"id":"8765439","name":"Red Onion","expiresAt":"2024-10-18","price":0.69,"weight":"150g","packagingUnit":"each","available":35},{"id":"5678901","name":"Garlic Bulb","expiresAt":"2024-12-15","price":0.99,"weight":"100g","packagingUnit":"each","available":51},{"id":"2345678","name":"Celery Sticks","expiresAt":"2024-09-29","price":1.29,"weight":"400g","packagingUnit":"bag","available":23},{"id":"7654321","name":"Sweet Potatoes","expiresAt":"2025-01-05","price":1.99,"weight":"1kg","packagingUnit":"bag","available":39},{"id":"4321098","name":"Cherry Tomatoes","expiresAt":"2024-09-15","price":2.79,"weight":"250g","packagingUnit":"punnet","available":19},{"id":"1098765","name":"Asparagus Spears","expiresAt":"2024-10-02","price":3.99,"weight":"200g","packagingUnit":"bunch","available":13},{"id":"9012345","name":"Brokkoli","expiresAt":"2024-11-20","price":2.29,"weight":"600g","packagingUnit":"each","available":27},{"id":"6789012","name":"Ginger Root","expiresAt":"2024-12-28","price":1.79,"weight":"100g","packagingUnit":"each","available":45},{"id":"3210987","name":"Green Beans","expiresAt":"2024-09-20","price":2.49,"weight":"250g","packagingUnit":"bag","available":21},{"id":"8901234","name":"Corn on the Cob","expiresAt":"2024-10-10","price":1.19,"weight":"150g","packagingUnit":"each","available":33},{"id":"5432109","name":"Avocados","expiresAt":"2025-02-12","price":1.89,"weight":"150g","packagingUnit":"each","available":49},{"id":"2109876","name":"Cucumber","expiresAt":"2024-09-27","price":0.89,"weight":"200g","packagingUnit":"each","available":37},{"id":"7890123","name":"White Mushrooms","expiresAt":"2024-11-14","price":2.99,"weight":"250g","packagingUnit":"punnet","available":25},{"id":"4567890","name":"Iceberg Lettuce","expiresAt":"2024-10-05","price":1.59,"weight":"500g","packagingUnit":"each","available":41},{"id":"1234560","name":"Potatoes","expiresAt":"2025-03-01","price":0.99,"weight":"1kg","packagingUnit":"bag","available":53},{"id":"9087654","name":"Sweet Peppers Mix","expiresAt":"2024-10-29","price":2.69,"weight":"500g","packagingUnit":"bag","available":15},{"id":"7412589","name":"Pink Lady Apples","expiresAt":"2024-10-20","price":2.49,"weight":"1kg","packagingUnit":"bag","available":40},{"id":"3698521","name":"Black Grapes","expiresAt":"2024-09-18","price":3.99,"weight":"500g","packagingUnit":"punnet","available":12},{"id":"1478523","name":"Pineapple","expiresAt":"2024-10-02","price":2.99,"weight":"1.2kg","packagingUnit":"each","available":25},{"id":"9632587","name":"Mango","expiresAt":"2024-09-25","price":1.79,"weight":"300g","packagingUnit":"each","available":31},{"id":"8521479","name":"Watermelon","expiresAt":"2024-12-15","price":5.99,"weight":"3kg","packagingUnit":"each","available":8},{"id":"2589631","name":"Cantaloupe Melon","expiresAt":"2024-11-05","price":3.49,"weight":"1.5kg","packagingUnit":"each","available":16},{"id":"4789632","name":"Strawberries","expiresAt":"2024-09-16","price":4.29,"weight":"250g","packagingUnit":"punnet","available":28},{"id":"9512368","name":"Blueberries","expiresAt":"2025-01-20","price":5.79,"weight":"125g","packagingUnit":"punnet","available":45},{"id":"6541239","name":"Raspberries","expiresAt":"2024-09-28","price":4.99,"weight":"125g","packagingUnit":"punnet","available":19},{"id":"3578521","name":"Kiwi","expiresAt":"2024-10-12","price":0.79,"weight":"100g","packagingUnit":"each","available":52},{"id":"1596324","name":"Passion Fruit","expiresAt":"2025-03-05","price":1.29,"weight":"100g","packagingUnit":"each","available":33},{"id":"8963257","name":"Pomegranate","expiresAt":"2024-11-18","price":2.89,"weight":"250g","packagingUnit":"each","available":21},{"id":"7895214","name":"Nectarines","expiresAt":"2024-09-22","price":3.29,"weight":"500g","packagingUnit":"punnet","available":17},{"id":"2365874","name":"Apricots","expiresAt":"2024-10-28","price":4.59,"weight":"250g","packagingUnit":"punnet","available":29},{"id":"5896321","name":"Plums","expiresAt":"2025-02-10","price":2.99,"weight":"500g","packagingUnit":"punnet","available":38},{"id":"4125879","name":"Figs","expiresAt":"2024-09-19","price":6.99,"weight":"200g","packagingUnit":"punnet","available":14},{"id":"9874125","name":"Blood Oranges","expiresAt":"2024-11-02","price":2.19,"weight":"1kg","packagingUnit":"bag","available":26},{"id":"6235897","name":"Clementines","expiresAt":"2024-12-28","price":1.99,"weight":"500g","packagingUnit":"bag","available":41},{"id":"2587413","name":"Grapefruit","expiresAt":"2025-01-15","price":1.49,"weight":"400g","packagingUnit":"each","available":18},{"id":"7412583","name":"Green Apples","expiresAt":"2024-10-26","price":1.99,"weight":"1kg","packagingUnit":"bag","available":35},{"id":"7412365","name":"Honeycrisp Apples","expiresAt":"2024-10-25","price":3.29,"weight":"1kg","packagingUnit":"bag","available":28},{"id":"3987521","name":"Red Seedless Grapes","expiresAt":"2024-09-21","price":4.59,"weight":"500g","packagingUnit":"punnet","available":33},{"id":"1596387","name":"Golden Pineapple","expiresAt":"2024-10-09","price":3.79,"weight":"1.5kg","packagingUnit":"each","available":19},{"id":"9632527","name":"Ataulfo Mangoes","expiresAt":"2025-01-18","price":2.29,"weight":"350g","packagingUnit":"each","available":22},{"id":"8521439","name":"Mini Watermelon","expiresAt":"2024-11-01","price":4.19,"weight":"1.8kg","packagingUnit":"each","available":15},{"id":"2589693","name":"Galia Melon","expiresAt":"2024-10-18","price":2.99,"weight":"1.2kg","packagingUnit":"each","available":29},{"id":"4789698","name":"Organic Strawberries","expiresAt":"2025-02-15","price":5.59,"weight":"250g","packagingUnit":"punnet","available":11},{"id":"9512362","name":"Blackberries","expiresAt":"2024-09-29","price":6.29,"weight":"125g","packagingUnit":"punnet","available":26},{"id":"6541295","name":"Golden Raspberries","expiresAt":"2024-11-22","price":5.99,"weight":"125g","packagingUnit":"punnet","available":17},{"id":"3578585","name":"Green Kiwifruit","expiresAt":"2024-10-29","price":1.19,"weight":"150g","packagingUnit":"each","available":38},{"id":"1596389","name":"Banana Passion Fruit","expiresAt":"2025-03-12","price":1.99,"weight":"120g","packagingUnit":"each","available":23},{"id":"8963251","name":"Organic Pomegranate","expiresAt":"2024-11-15","price":3.59,"weight":"300g","packagingUnit":"each","available":35},{"id":"7895278","name":"White Nectarines","expiresAt":"2024-10-05","price":4.19,"weight":"600g","packagingUnit":"punnet","available":21},{"id":"2365812","name":"Black Apricots","expiresAt":"2025-01-25","price":5.29,"weight":"300g","packagingUnit":"punnet","available":13},{"id":"5896387","name":"Black Plums","expiresAt":"2024-12-02","price":3.79,"weight":"600g","packagingUnit":"punnet","available":47},{"id":"4125835","name":"Brown Turkey Figs","expiresAt":"2024-09-26","price":7.99,"weight":"250g","packagingUnit":"punnet","available":9},{"id":"9874189","name":"Cara Cara Oranges","expiresAt":"2024-10-12","price":2.89,"weight":"1.2kg","packagingUnit":"bag","available":42},{"id":"6235837","name":"Honey Tangerines","expiresAt":"2025-02-22","price":2.59,"weight":"600g","packagingUnit":"bag","available":31},{"id":"2587475","name":"Pink Grapefruit","expiresAt":"2024-11-29","price":2.19,"weight":"500g","packagingUnit":"each","available":27},{"id":"3271859","name":"Ground Cinnamon","expiresAt":"2025-04-12","price":2.49,"weight":"50g","packagingUnit":"jar","available":32},{"id":"8172635","name":"Dried Oregano","expiresAt":"2025-02-28","price":1.99,"weight":"25g","packagingUnit":"jar","available":18},{"id":"4569283","name":"Whole Black Peppercorns","expiresAt":"2024-09-25","price":3.79,"weight":"100g","packagingUnit":"grinder","available":25},{"id":"9823714","name":"Smoked Paprika","expiresAt":"2025-01-15","price":2.99,"weight":"75g","packagingUnit":"jar","available":14},{"id":"1736482","name":"Ground Turmeric","expiresAt":"2024-10-02","price":2.29,"weight":"100g","packagingUnit":"pouch","available":41},{"id":"6285319","name":"Crushed Chili Flakes","expiresAt":"2025-06-21","price":1.79,"weight":"50g","packagingUnit":"jar","available":28},{"id":"5319827","name":"Sea Salt Flakes","expiresAt":"2025-08-18","price":2.59,"weight":"125g","packagingUnit":"box","available":35},{"id":"2846391","name":"Dried Rosemary","expiresAt":"2024-09-29","price":1.99,"weight":"30g","packagingUnit":"jar","available":21},{"id":"7193528","name":"Ground Cumin","expiresAt":"2025-03-05","price":1.89,"weight":"100g","packagingUnit":"pouch","available":19},{"id":"8352917","name":"Bay Leaves","expiresAt":"2025-09-12","price":2.19,"weight":"10g","packagingUnit":"jar","available":48},{"id":"4928173","name":"Ground Coriander","expiresAt":"2024-10-18","price":2.39,"weight":"75g","packagingUnit":"jar","available":33},{"id":"6173825","name":"Garlic Powder","expiresAt":"2025-07-25","price":1.69,"weight":"100g","packagingUnit":"bottle","available":26},{"id":"2958174","name":"Onion Powder","expiresAt":"2025-05-09","price":1.59,"weight":"75g","packagingUnit":"bottle","available":17},{"id":"7284639","name":"Dried Basil","expiresAt":"2024-09-17","price":2.09,"weight":"20g","packagingUnit":"jar","available":39},{"id":"1835297","name":"Dried Thyme","expiresAt":"2025-11-02","price":1.79,"weight":"25g","packagingUnit":"jar","available":22},{"id":"3749285","name":"Ground Nutmeg","expiresAt":"2025-03-18","price":2.79,"weight":"40g","packagingUnit":"jar","available":23},{"id":"5928374","name":"Whole Cloves","expiresAt":"2025-05-12","price":3.29,"weight":"50g","packagingUnit":"jar","available":45},{"id":"1928473","name":"Star Anise","expiresAt":"2024-09-22","price":4.59,"weight":"20g","packagingUnit":"jar","available":17},{"id":"7364829","name":"Cardamom Pods","expiresAt":"2025-07-29","price":5.99,"weight":"50g","packagingUnit":"jar","available":31},{"id":"2837462","name":"Saffron Threads","expiresAt":"2025-09-15","price":12.99,"weight":"1g","packagingUnit":"jar","available":8},{"id":"8472935","name":"Pink Himalayan Salt","expiresAt":"2025-12-02","price":4.29,"weight":"250g","packagingUnit":"grinder","available":38},{"id":"9283746","name":"Black Mustard Seeds","expiresAt":"2024-10-14","price":2.89,"weight":"100g","packagingUnit":"bag","available":26},{"id":"1728394","name":"Fenugreek Seeds","expiresAt":"2025-02-22","price":3.59,"weight":"100g","packagingUnit":"bag","available":19},{"id":"6283749","name":"Cumin Seeds","expiresAt":"2025-04-05","price":2.79,"weight":"100g","packagingUnit":"bag","available":42},{"id":"3847294","name":"Coriander Seeds","expiresAt":"2024-09-18","price":3.19,"weight":"100g","packagingUnit":"bag","available":35},{"id":"5928364","name":"Dried Tarragon","expiresAt":"2025-06-15","price":4.89,"weight":"15g","packagingUnit":"jar","available":21},{"id":"7283945","name":"Herbes de Provence","expiresAt":"2025-10-28","price":5.29,"weight":"30g","packagingUnit":"jar","available":14},{"id":"1928376","name":"Poultry Seasoning","expiresAt":"2024-11-12","price":3.99,"weight":"50g","packagingUnit":"jar","available":29},{"id":"8374925","name":"Pumpkin Pie Spice","expiresAt":"2025-01-10","price":4.59,"weight":"75g","packagingUnit":"jar","available":18},{"id":"4729381","name":"Apple Pie Spice","expiresAt":"2025-08-05","price":3.79,"weight":"60g","packagingUnit":"jar","available":25},{"id":"2638517","name":"Organic Whole Milk","expiresAt":"2024-10-25","price":3.99,"weight":"1L","packagingUnit":"Carton","available":12},{"id":"5194823","name":"Cheddar Cheese Slices","expiresAt":"2024-12-01","price":2.79,"weight":"250g","packagingUnit":"Package","available":8},{"id":"9473625","name":"Greek Yogurt, Honey Flavour","expiresAt":"2024-10-18","price":1.49,"weight":"150g","packagingUnit":"Cup","available":24},{"id":"1837592","name":"Unsalted Butter","expiresAt":"2024-11-15","price":4.29,"weight":"250g","packagingUnit":"Block","available":15},{"id":"6285931","name":"Lactose-Free Milk","expiresAt":"2024-10-28","price":3.89,"weight":"1L","packagingUnit":"Carton","available":5},{"id":"3729184","name":"Sour Cream","expiresAt":"2024-11-08","price":2.19,"weight":"200g","packagingUnit":"Tub","available":10},{"id":"8592736","name":"Mozzarella Cheese, Shredded","expiresAt":"2025-01-10","price":3.49,"weight":"150g","packagingUnit":"Bag","available":12},{"id":"4172958","name":"Vanilla Yogurt, Low Fat","expiresAt":"2024-10-22","price":1.29,"weight":"100g","packagingUnit":"Cup","available":18},{"id":"7361829","name":"Parmesan Cheese, Grated","expiresAt":"2025-02-15","price":5.99,"weight":"100g","packagingUnit":"Jar","available":6},{"id":"2958371","name":"Whipping Cream","expiresAt":"2024-10-16","price":2.99,"weight":"250ml","packagingUnit":"Carton","available":9},{"id":"6182735","name":"Cottage Cheese","expiresAt":"2024-11-02","price":2.59,"weight":"250g","packagingUnit":"Tub","available":7},{"id":"5293847","name":"Swiss Cheese","expiresAt":"2024-12-28","price":6.79,"weight":"100g","packagingUnit":"Package","available":4},{"id":"8472193","name":"Strawberry Yogurt, Greek Style","expiresAt":"2024-10-29","price":1.69,"weight":"175g","packagingUnit":"Cup","available":15},{"id":"1928375","name":"Salted Butter","expiresAt":"2024-11-22","price":4.19,"weight":"250g","packagingUnit":"Block","available":11},{"id":"7291836","name":"Soy Milk, Unsweetened","expiresAt":"2025-01-05","price":3.29,"weight":"1L","packagingUnit":"Carton","available":8},{"id":"3847248","name":"Cream Cheese","expiresAt":"2024-11-12","price":2.89,"weight":"200g","packagingUnit":"Tub","available":13},{"id":"5928376","name":"Feta Cheese","expiresAt":"2024-12-18","price":4.59,"weight":"200g","packagingUnit":"Tub","available":5},{"id":"1729384","name":"Blueberry Yogurt, Low Fat","expiresAt":"2024-10-19","price":1.39,"weight":"125g","packagingUnit":"Cup","available":20},{"id":"6283745","name":"Gorgonzola Cheese","expiresAt":"2025-03-08","price":7.29,"weight":"100g","packagingUnit":"Package","available":3},{"id":"9384725","name":"Coconut Milk","expiresAt":"2025-02-22","price":3.59,"weight":"400ml","packagingUnit":"Can","available":10},{"id":"1678923","name":"Semi-Skimmed Milk","expiresAt":"2024-10-23","price":2.99,"weight":"1L","packagingUnit":"Carton","available":15},{"id":"5792836","name":"Gouda Cheese","expiresAt":"2024-12-15","price":5.29,"weight":"200g","packagingUnit":"Package","available":7},{"id":"8263741","name":"Mango Yogurt","expiresAt":"2024-10-17","price":1.19,"weight":"125g","packagingUnit":"Cup","available":22},{"id":"3947285","name":"Butter Milk","expiresAt":"2024-11-10","price":2.49,"weight":"500ml","packagingUnit":"Bottle","available":11},{"id":"7129385","name":"Provolone Cheese","expiresAt":"2025-01-22","price":6.99,"weight":"150g","packagingUnit":"Package","available":4},{"id":"2836475","name":"Peach Yogurt, Greek Style","expiresAt":"2024-10-27","price":1.59,"weight":"180g","packagingUnit":"Cup","available":16},{"id":"9128374","name":"Ricotta Cheese","expiresAt":"2024-11-05","price":3.79,"weight":"250g","packagingUnit":"Tub","available":9},{"id":"4728395","name":"Edam Cheese","expiresAt":"2024-12-20","price":4.89,"weight":"250g","packagingUnit":"Block","available":6},{"id":"6384729","name":"Raspberry Yogurt, Low Fat","expiresAt":"2025-01-08","price":1.35,"weight":"130g","packagingUnit":"Cup","available":19},{"id":"1928378","name":"Mascarpone Cheese","expiresAt":"2024-11-13","price":5.59,"weight":"250g","packagingUnit":"Tub","available":5},{"id":"5728396","name":"Almond Milk, Unsweetened","expiresAt":"2025-02-18","price":3.19,"weight":"1L","packagingUnit":"Carton","available":10},{"id":"8293745","name":"Double Cream","expiresAt":"2024-10-19","price":2.79,"weight":"200ml","packagingUnit":"Carton","available":8},{"id":"3748296","name":"Parmigiano Reggiano Cheese","expiresAt":"2025-03-12","price":8.99,"weight":"100g","packagingUnit":"Wedge","available":3},{"id":"1827395","name":"Lemon Yogurt","expiresAt":"2024-10-21","price":1.25,"weight":"150g","packagingUnit":"Cup","available":21},{"id":"9876542","name":"Halloumi Cheese","expiresAt":"2024-11-28","price":4.29,"weight":"200g","packagingUnit":"Package","available":7},{"id":"3456782","name":"Vanilla Soy Milk","expiresAt":"2025-01-15","price":3.39,"weight":"1L","packagingUnit":"Carton","available":9},{"id":"1298762","name":"Crème Fraîche","expiresAt":"2024-11-07","price":2.69,"weight":"200ml","packagingUnit":"Tub","available":12},{"id":"9876549","name":"Pecorino Romano Cheese","expiresAt":"2025-02-25","price":7.49,"weight":"100g","packagingUnit":"Wedge","available":4},{"id":"8765432","name":"Plain Yogurt, Greek Style","expiresAt":"2024-10-25","price":1.45,"weight":"500g","packagingUnit":"Tub","available":14},{"id":"5678902","name":"Oat Milk","expiresAt":"2025-01-29","price":3.09,"weight":"1L","packagingUnit":"Carton","available":8},{"id":"7162534","name":"Smoked Salmon Fillet","expiresAt":"2024-10-25","price":12.99,"weight":"200g","packagingUnit":"piece","available":8},{"id":"5839172","name":"Frozen Cod Fillets","expiresAt":"2025-03-15","price":7.99,"weight":"1000g","packagingUnit":"pack","available":25},{"id":"2947618","name":"Fresh Tuna Steak","expiresAt":"2024-09-18","price":19.99,"weight":"250g","packagingUnit":"piece","available":5},{"id":"8462951","name":"Canned Sardines in Oil","expiresAt":"2026-01-10","price":2.49,"weight":"120g","packagingUnit":"can","available":48},{"id":"3718529","name":"Fresh Salmon Fillets","expiresAt":"2024-09-22","price":14.99,"weight":"500g","packagingUnit":"pack","available":12},{"id":"9273645","name":"Frozen Shrimp (peeled & deveined)","expiresAt":"2025-08-02","price":11.99,"weight":"500g","packagingUnit":"bag","available":30},{"id":"1635847","name":"Smoked Mackerel Fillet","expiresAt":"2024-11-05","price":8.49,"weight":"150g","packagingUnit":"piece","available":18},{"id":"6482915","name":"Canned Tuna in Brine","expiresAt":"2025-12-18","price":1.99,"weight":"185g","packagingUnit":"can","available":62},{"id":"4591726","name":"Fresh Tilapia Fillets","expiresAt":"2024-09-16","price":9.99,"weight":"400g","packagingUnit":"pack","available":9},{"id":"2837469","name":"Frozen Salmon Burgers","expiresAt":"2025-04-22","price":6.99,"weight":"400g","packagingUnit":"pack","available":21},{"id":"7529183","name":"Smoked Haddock Fillet","expiresAt":"2024-10-30","price":9.79,"weight":"175g","packagingUnit":"piece","available":15},{"id":"1948273","name":"Canned Anchovies in Oil","expiresAt":"2026-05-08","price":3.29,"weight":"50g","packagingUnit":"can","available":38},{"id":"5283749","name":"Fresh Swordfish Steak","expiresAt":"2024-09-20","price":22.99,"weight":"300g","packagingUnit":"piece","available":4},{"id":"8374622","name":"Frozen Fish Fingers","expiresAt":"2025-07-12","price":5.49,"weight":"300g","packagingUnit":"pack","available":35},{"id":"4917283","name":"Smoked Trout Fillet","expiresAt":"2024-11-12","price":10.99,"weight":"180g","packagingUnit":"piece","available":11},{"id":"2635847","name":"Canned Salmon in Water","expiresAt":"2025-09-28","price":2.79,"weight":"213g","packagingUnit":"can","available":55},{"id":"9182735","name":"Fresh Red Snapper","expiresAt":"2024-09-17","price":18.49,"weight":"1000g","packagingUnit":"piece","available":3},{"id":"6428375","name":"Frozen Haddock Fillets","expiresAt":"2025-06-05","price":8.79,"weight":"800g","packagingUnit":"pack","available":28},{"id":"3579182","name":"Smoked Kipper","expiresAt":"2024-10-28","price":6.29,"weight":"125g","packagingUnit":"piece","available":19},{"id":"7293844","name":"Canned Tuna in Oil","expiresAt":"2026-03-11","price":2.19,"weight":"185g","packagingUnit":"can","available":71},{"id":"1947236","name":"Wild Alaskan Salmon Fillets","expiresAt":"2024-10-23","price":16.99,"weight":"550g","packagingUnit":"pack","available":7},{"id":"5826371","name":"Fresh Atlantic Cod","expiresAt":"2024-09-21","price":12.49,"weight":"1200g","packagingUnit":"piece","available":3},{"id":"8471925","name":"Smoked Herring Fillets in Oil","expiresAt":"2025-04-18","price":7.29,"weight":"200g","packagingUnit":"jar","available":22},{"id":"3628174","name":"Frozen Breaded Fish Sticks","expiresAt":"2025-11-07","price":4.99,"weight":"450g","packagingUnit":"pack","available":41},{"id":"9172538","name":"Fresh Rainbow Trout","expiresAt":"2024-09-19","price":13.79,"weight":"600g","packagingUnit":"piece","available":6},{"id":"2736488","name":"Frozen White Fish Fillets","expiresAt":"2025-07-29","price":8.99,"weight":"800g","packagingUnit":"pack","available":27},{"id":"7582916","name":"Canned Mackerel in Tomato Sauce","expiresAt":"2026-02-15","price":2.89,"weight":"200g","packagingUnit":"can","available":58},{"id":"4819273","name":"Fresh Sea Bass","expiresAt":"2024-09-25","price":19.49,"weight":"850g","packagingUnit":"piece","available":2},{"id":"6293748","name":"Frozen Breaded Shrimp","expiresAt":"2025-09-04","price":10.49,"weight":"400g","packagingUnit":"bag","available":33},{"id":"1728395","name":"Smoked Salmon (Sliced)","expiresAt":"2024-11-01","price":14.29,"weight":"100g","packagingUnit":"pack","available":14},{"id":"5927364","name":"Canned Tuna Chunks in Oil","expiresAt":"2026-06-22","price":2.39,"weight":"170g","packagingUnit":"can","available":65},{"id":"8374621","name":"Fresh Halibut Steaks","expiresAt":"2024-09-28","price":21.99,"weight":"650g","packagingUnit":"pack","available":4},{"id":"2839174","name":"Frozen Whiting Fillets","expiresAt":"2025-05-14","price":6.79,"weight":"1000g","packagingUnit":"pack","available":29},{"id":"7162539","name":"Smoked Cod Fillets (Peppered)","expiresAt":"2024-10-27","price":9.99,"weight":"175g","packagingUnit":"piece","available":17},{"id":"4528361","name":"Canned Sardines in Tomato Sauce","expiresAt":"2025-12-05","price":2.69,"weight":"125g","packagingUnit":"can","available":51},{"id":"9273648","name":"Fresh Monkfish Fillets","expiresAt":"2024-09-15","price":17.99,"weight":"450g","packagingUnit":"pack","available":8},{"id":"3618274","name":"Frozen Salmon Fillets (Skinless)","expiresAt":"2025-08-19","price":15.49,"weight":"500g","packagingUnit":"pack","available":19},{"id":"8472936","name":"Smoked Mackerel (Whole)","expiresAt":"2024-11-09","price":11.29,"weight":"250g","packagingUnit":"piece","available":12},{"id":"2937485","name":"Canned Tuna in Spring Water","expiresAt":"2026-03-28","price":2.09,"weight":"185g","packagingUnit":"can","available":78},{"id":"1728364","name":"Fresh Swordfish Steaks","expiresAt":"2024-09-23","price":23.99,"weight":"700g","packagingUnit":"pack","available":5},{"id":"1378925","name":"Beef Tenderloin Steak","expiresAt":"2024-10-23","price":24.99,"weight":"0.5","packagingUnit":"kg","available":8},{"id":"5628473","name":"Pork Chops (Boneless)","expiresAt":"2024-10-17","price":7.99,"weight":"1","packagingUnit":"kg","available":15},{"id":"9273851","name":"Chicken Breast Fillets","expiresAt":"2024-09-28","price":6.49,"weight":"0.5","packagingUnit":"kg","available":23},{"id":"4827935","name":"Ground Beef (Lean)","expiresAt":"2024-12-05","price":5.99,"weight":"0.5","packagingUnit":"kg","available":12},{"id":"2738591","name":"Lamb Leg Roast","expiresAt":"2024-11-12","price":19.99,"weight":"2","packagingUnit":"kg","available":6},{"id":"6384927","name":"Salmon Fillet (Skin On)","expiresAt":"2024-10-21","price":12.99,"weight":"0.25","packagingUnit":"kg","available":18},{"id":"1947283","name":"Turkey Breast (Sliced)","expiresAt":"2025-01-15","price":8.79,"weight":"0.2","packagingUnit":"kg","available":10},{"id":"5283741","name":"Duck Breast (Frozen)","expiresAt":"2025-03-08","price":15.49,"weight":"0.35","packagingUnit":"kg","available":5},{"id":"8374629","name":"Veal Cutlets","expiresAt":"2024-11-29","price":21.99,"weight":"0.4","packagingUnit":"kg","available":3},{"id":"4917285","name":"Ground Pork","expiresAt":"2024-10-19","price":6.29,"weight":"1","packagingUnit":"kg","available":9},{"id":"2635849","name":"Beef Short Ribs","expiresAt":"2024-12-28","price":13.79,"weight":"1.5","packagingUnit":"kg","available":4},{"id":"9182739","name":"Chicken Thighs (Boneless)","expiresAt":"2024-09-25","price":5.89,"weight":"0.8","packagingUnit":"kg","available":17},{"id":"6428371","name":"Smoked Bacon","expiresAt":"2024-11-05","price":9.99,"weight":"0.2","packagingUnit":"kg","available":11},{"id":"3579184","name":"Beef Sirloin Steak","expiresAt":"2025-02-14","price":18.49,"weight":"0.3","packagingUnit":"kg","available":7},{"id":"7293842","name":"Pork Loin Roast","expiresAt":"2024-10-30","price":7.29,"weight":"1.8","packagingUnit":"kg","available":13},{"id":"1947238","name":"Chicken Drumsticks","expiresAt":"2024-09-22","price":4.79,"weight":"1.2","packagingUnit":"kg","available":20},{"id":"5826379","name":"Ground Lamb","expiresAt":"2024-12-01","price":8.59,"weight":"0.5","packagingUnit":"kg","available":8},{"id":"8471923","name":"Beef Brisket","expiresAt":"2025-01-22","price":11.99,"weight":"2.5","packagingUnit":"kg","available":5},{"id":"3628172","name":"Turkey Sausages","expiresAt":"2024-11-18","price":6.99,"weight":"0.3","packagingUnit":"kg","available":14},{"id":"9172536","name":"Chicken Wings","expiresAt":"2024-10-05","price":5.29,"weight":"1","packagingUnit":"kg","available":22},{"id":"5137829","name":"Organic Grass-Fed Beef Patties","expiresAt":"2024-12-15","price":7.99,"weight":"0.4","packagingUnit":"kg","available":12},{"id":"8926451","name":"Free-Range Chicken Leg Quarters","expiresAt":"2024-09-23","price":4.59,"weight":"1.2","packagingUnit":"kg","available":18},{"id":"3475912","name":"Smoked Pork Belly","expiresAt":"2024-11-08","price":10.99,"weight":"0.8","packagingUnit":"kg","available":7},{"id":"1592638","name":"Grass-Fed Lamb Chops","expiresAt":"2025-01-03","price":22.49,"weight":"0.6","packagingUnit":"kg","available":5},{"id":"7263845","name":"Wild-Caught Cod Fillets","expiresAt":"2024-10-19","price":13.29,"weight":"0.45","packagingUnit":"kg","available":14},{"id":"2849173","name":"Organic Ground Turkey","expiresAt":"2024-12-21","price":7.29,"weight":"0.75","packagingUnit":"kg","available":9},{"id":"6152847","name":"Peking Duck (Whole)","expiresAt":"2025-02-18","price":18.99,"weight":"1.8","packagingUnit":"kg","available":3},{"id":"9374521","name":"Veal Scaloppine","expiresAt":"2024-11-26","price":23.99,"weight":"0.35","packagingUnit":"kg","available":6},{"id":"4827359","name":"Pork Spare Ribs","expiresAt":"2024-10-28","price":9.49,"weight":"1.5","packagingUnit":"kg","available":11},{"id":"1529384","name":"Chicken Sausage (Italian)","expiresAt":"2024-09-21","price":6.79,"weight":"0.55","packagingUnit":"kg","available":16},{"id":"7293856","name":"Beef Eye Round Roast","expiresAt":"2025-01-11","price":12.59,"weight":"2.2","packagingUnit":"kg","available":4},{"id":"3847298","name":"Chicken Breast (Skinless, Boneless)","expiresAt":"2024-09-26","price":5.99,"weight":"1","packagingUnit":"kg","available":21},{"id":"9126487","name":"Applewood Smoked Bacon","expiresAt":"2024-11-02","price":11.49,"weight":"0.3","packagingUnit":"kg","available":8},{"id":"5728369","name":"Sirloin Steak (Grass-Fed)","expiresAt":"2025-02-09","price":19.99,"weight":"0.4","packagingUnit":"kg","available":7},{"id":"2938476","name":"Pork Tenderloin Medallions","expiresAt":"2024-10-25","price":8.89,"weight":"0.65","packagingUnit":"kg","available":13},{"id":"8472938","name":"Chicken Drumsticks (Organic)","expiresAt":"2024-09-19","price":5.29,"weight":"1.1","packagingUnit":"kg","available":19},{"id":"1928377","name":"Ground Lamb (Lean)","expiresAt":"2024-12-18","price":9.79,"weight":"0.6","packagingUnit":"kg","available":10},{"id":"6273850","name":"Beef Chuck Roast","expiresAt":"2025-01-25","price":10.99,"weight":"2.8","packagingUnit":"kg","available":5},{"id":"3847299","name":"Turkey Kielbasa Sausage","expiresAt":"2024-11-15","price":7.49,"weight":"0.45","packagingUnit":"kg","available":14},{"id":"7129386","name":"Chicken Wings (Party Pack)","expiresAt":"2024-10-03","price":4.99,"weight":"1.5","packagingUnit":"kg","available":22},{"id":"7175923","name":"Salami Napoli Sliced","expiresAt":"2024-10-25","price":3.99,"weight":"200g","packagingUnit":"Package","available":12},{"id":"3948572","name":"Smoked Ham Bavarian Style","expiresAt":"2024-12-05","price":5.79,"weight":"250g","packagingUnit":"Package","available":8},{"id":"1629485","name":"Pepperoni Sticks Spicy","expiresAt":"2024-09-18","price":2.49,"weight":"150g","packagingUnit":"Bag","available":25},{"id":"8573629","name":"Black Forest Ham Sliced","expiresAt":"2024-11-12","price":6.89,"weight":"175g","packagingUnit":"Package","available":5},{"id":"2735918","name":"Chorizo Sausage Mild","expiresAt":"2024-10-11","price":4.29,"weight":"200g","packagingUnit":"Package","available":18},{"id":"9482736","name":"Prosciutto Crudo Sliced","expiresAt":"2025-01-15","price":12.99,"weight":"100g","packagingUnit":"Package","available":3},{"id":"5291382","name":"Bratwurst White Sausage","expiresAt":"2024-09-28","price":3.79,"weight":"400g","packagingUnit":"Package","available":10},{"id":"4182735","name":"Landjäger Dry Cured Sausage","expiresAt":"2025-03-08","price":1.99,"weight":"50g","packagingUnit":"Piece","available":30},{"id":"6372918","name":"Mortadella Bologna Sliced","expiresAt":"2024-10-21","price":7.49,"weight":"250g","packagingUnit":"Package","available":6},{"id":"1827365","name":"Cumberland Sausage Spicy","expiresAt":"2024-11-03","price":5.29,"weight":"400g","packagingUnit":"Package","available":14},{"id":"7293846","name":"Beef Jerky Original","expiresAt":"2025-02-12","price":8.99,"weight":"100g","packagingUnit":"Bag","available":22},{"id":"3847291","name":"Salami Milano Sliced","expiresAt":"2024-10-17","price":4.69,"weight":"150g","packagingUnit":"Package","available":9},{"id":"9182733","name":"Smoked Bacon Sliced","expiresAt":"2024-09-23","price":6.29,"weight":"250g","packagingUnit":"Package","available":11},{"id":"5283744","name":"Frankfurter Sausage","expiresAt":"2024-10-05","price":4.99,"weight":"300g","packagingUnit":"Package","available":17},{"id":"2736481","name":"Coppa Italian Dry-cured Ham","expiresAt":"2025-04-21","price":11.99,"weight":"125g","packagingUnit":"Package","available":4},{"id":"8374625","name":"Nürnberger Sausage","expiresAt":"2024-10-14","price":3.59,"weight":"500g","packagingUnit":"Package","available":19},{"id":"4917287","name":"Bresaola Air-dried Beef","expiresAt":"2025-01-28","price":14.99,"weight":"80g","packagingUnit":"Package","available":2},{"id":"1628374","name":"Cabanossi Spicy Sausage","expiresAt":"2024-11-27","price":2.79,"weight":"100g","packagingUnit":"Stick","available":28},{"id":"7293845","name":"Lyoner Sausage Sliced","expiresAt":"2024-09-30","price":5.49,"weight":"200g","packagingUnit":"Package","available":7},{"id":"3847296","name":"Teewurst German Sausage Spread","expiresAt":"2024-12-18","price":2.99,"weight":"150g","packagingUnit":"Tube","available":15},{"id":"1379284","name":"Whole Wheat Spaghetti","expiresAt":"2025-03-12","price":2.99,"weight":"500g","packagingUnit":"Pack","available":24},{"id":"5937482","name":"Quinoa","expiresAt":"2024-10-23","price":4.79,"weight":"1kg","packagingUnit":"Bag","available":8},{"id":"2837465","name":"Corn Flakes","expiresAt":"2025-01-19","price":3.29,"weight":"750g","packagingUnit":"Box","available":15},{"id":"7492837","name":"Brown Rice","expiresAt":"2024-11-05","price":2.69,"weight":"1kg","packagingUnit":"Bag","available":32},{"id":"9283741","name":"Oatmeal","expiresAt":"2025-04-08","price":3.99,"weight":"1kg","packagingUnit":"Bag","available":12},{"id":"1728396","name":"Couscous","expiresAt":"2024-09-18","price":2.49,"weight":"500g","packagingUnit":"Bag","available":27},{"id":"6283741","name":"Polenta","expiresAt":"2025-02-28","price":1.99,"weight":"1kg","packagingUnit":"Bag","available":18},{"id":"3847293","name":"Buckwheat","expiresAt":"2024-12-01","price":3.79,"weight":"500g","packagingUnit":"Bag","available":5},{"id":"5928371","name":"Millet","expiresAt":"2025-06-15","price":2.89,"weight":"1kg","packagingUnit":"Bag","available":11},{"id":"8374628","name":"Barley","expiresAt":"2024-10-14","price":2.29,"weight":"1kg","packagingUnit":"Bag","available":29},{"id":"4917286","name":"Rye Bread","expiresAt":"2024-09-27","price":4.59,"weight":"700g","packagingUnit":"Loaf","available":6},{"id":"2635841","name":"Baguettes (2 pieces)","expiresAt":"2024-09-15","price":2.79,"weight":"400g","packagingUnit":"Pack","available":13},{"id":"9182734","name":"Croissants (6 pieces)","expiresAt":"2024-09-12","price":3.89,"weight":"300g","packagingUnit":"Pack","available":21},{"id":"6428379","name":"Tortillas (6 pieces)","expiresAt":"2024-11-28","price":2.99,"weight":"350g","packagingUnit":"Pack","available":19},{"id":"3579186","name":"Pita Bread (4 pieces)","expiresAt":"2025-05-09","price":1.79,"weight":"200g","packagingUnit":"Pack","available":26},{"id":"7293841","name":"Naan Bread (2 pieces)","expiresAt":"2024-12-24","price":3.49,"weight":"250g","packagingUnit":"Pack","available":17},{"id":"1947235","name":"Gluten-Free Bread","expiresAt":"2025-01-05","price":5.29,"weight":"400g","packagingUnit":"Loaf","available":9},{"id":"5826375","name":"Rice Cakes","expiresAt":"2025-07-22","price":1.99,"weight":"100g","packagingUnit":"Pack","available":31},{"id":"8471926","name":"Crackers","expiresAt":"2025-03-08","price":2.39,"weight":"200g","packagingUnit":"Pack","available":14},{"id":"3628179","name":"Cereal Bars","expiresAt":"2025-02-15","price":1.49,"weight":"50g","packagingUnit":"Bar","available":23},{"id":"2178395","name":"Organic Spelt Flour","expiresAt":"2025-04-12","price":3.49,"weight":"1kg","packagingUnit":"Bag","available":12},{"id":"8769321","name":"Durum Wheat Semolina Pasta","expiresAt":"2024-09-25","price":2.79,"weight":"500g","packagingUnit":"Pack","available":24},{"id":"4359812","name":"Instant Oatmeal with Fruits and Nuts","expiresAt":"2025-02-19","price":4.29,"weight":"750g","packagingUnit":"Box","available":15},{"id":"9218573","name":"Basmati Rice","expiresAt":"2024-10-15","price":3.99,"weight":"1kg","packagingUnit":"Bag","available":32},{"id":"5823917","name":"Wheat Flour","expiresAt":"2025-05-08","price":1.49,"weight":"1kg","packagingUnit":"Bag","available":12},{"id":"1937482","name":"Instant Polenta","expiresAt":"2024-09-18","price":2.99,"weight":"500g","packagingUnit":"Bag","available":27},{"id":"7462839","name":"Pearl Barley","expiresAt":"2025-03-28","price":2.49,"weight":"1kg","packagingUnit":"Bag","available":18},{"id":"3289174","name":"Organic Buckwheat Groats","expiresAt":"2024-11-01","price":4.99,"weight":"500g","packagingUnit":"Bag","available":5},{"id":"6173829","name":"Hulled Millet","expiresAt":"2025-07-15","price":3.79,"weight":"1kg","packagingUnit":"Bag","available":11},{"id":"2849175","name":"Rye Berries","expiresAt":"2024-10-24","price":2.89,"weight":"1kg","packagingUnit":"Bag","available":29},{"id":"8375921","name":"Sourdough Bread","expiresAt":"2024-09-27","price":5.29,"weight":"700g","packagingUnit":"Loaf","available":6},{"id":"4927385","name":"Ciabatta Rolls (4 pieces)","expiresAt":"2024-09-15","price":3.49,"weight":"400g","packagingUnit":"Pack","available":13},{"id":"1638492","name":"Pain au Chocolat (2 pieces)","expiresAt":"2024-09-12","price":4.59,"weight":"300g","packagingUnit":"Pack","available":21},{"id":"7294837","name":"Whole Wheat Tortillas (8 pieces)","expiresAt":"2024-11-28","price":3.99,"weight":"350g","packagingUnit":"Pack","available":19},{"id":"3859127","name":"Garlic Naan Bread (2 pieces)","expiresAt":"2025-05-09","price":2.29,"weight":"200g","packagingUnit":"Pack","available":26},{"id":"9127483","name":"Gluten-Free Wraps (6 pieces)","expiresAt":"2024-12-24","price":4.79,"weight":"250g","packagingUnit":"Pack","available":17},{"id":"5738291","name":"Multigrain Bread","expiresAt":"2025-01-05","price":6.29,"weight":"400g","packagingUnit":"Loaf","available":9},{"id":"2849176","name":"Brown Rice Cakes","expiresAt":"2025-07-22","price":2.49,"weight":"100g","packagingUnit":"Pack","available":31},{"id":"8375924","name":"Multigrain Crackers","expiresAt":"2025-03-08","price":2.99,"weight":"200g","packagingUnit":"Pack","available":14},{"id":"4927388","name":"Oatmeal Raisin Cookies","expiresAt":"2025-02-15","price":1.99,"weight":"50g","packagingUnit":"Cookie","available":23},{"id":"7321859","name":"Whole Walnuts 500g","expiresAt":"2024-10-23","price":4.99,"weight":"500g","packagingUnit":"Bag","available":32},{"id":"1746293","name":"Organic Chia Seeds 250g","expiresAt":"2025-03-12","price":3.75,"weight":"250g","packagingUnit":"Bag","available":18},{"id":"2859374","name":"Roasted & Salted Pistachios 1kg","expiresAt":"2024-09-18","price":12.99,"weight":"1kg","packagingUnit":"Bag","available":5},{"id":"9173825","name":"Raw Pumpkin Seeds 100g","expiresAt":"2025-01-14","price":2.29,"weight":"100g","packagingUnit":"Bag","available":42},{"id":"5294736","name":"Sunflower Seeds Shelled 500g","expiresAt":"2024-12-05","price":3.49,"weight":"500g","packagingUnit":"Bag","available":27},{"id":"3918274","name":"Brazil Nuts Raw 200g","expiresAt":"2025-04-21","price":6.79,"weight":"200g","packagingUnit":"Bag","available":12},{"id":"6429385","name":"Pine Nuts 100g","expiresAt":"2024-11-08","price":5.99,"weight":"100g","packagingUnit":"Jar","available":8},{"id":"8537491","name":"Macadamia Nuts Roasted 150g","expiresAt":"2025-02-28","price":8.49,"weight":"150g","packagingUnit":"Bag","available":6},{"id":"4628375","name":"Flax Seeds Milled 500g","expiresAt":"2024-10-15","price":4.29,"weight":"500g","packagingUnit":"Bag","available":35},{"id":"1739284","name":"Hemp Seeds Hulled 250g","expiresAt":"2025-06-03","price":7.99,"weight":"250g","packagingUnit":"Bag","available":19},{"id":"5847392","name":"Cashew Nuts Unsalted 1kg","expiresAt":"2024-09-27","price":9.99,"weight":"1kg","packagingUnit":"Bag","available":14},{"id":"2958473","name":"Pecans Halves 250g","expiresAt":"2025-07-18","price":11.49,"weight":"250g","packagingUnit":"Bag","available":9},{"id":"7162849","name":"Hazelnuts Whole 500g","expiresAt":"2024-11-21","price":6.29,"weight":"500g","packagingUnit":"Bag","available":21},{"id":"3182746","name":"Mixed Nuts & Berries Trail Mix 400g","expiresAt":"2025-05-09","price":5.79,"weight":"400g","packagingUnit":"Bag","available":38},{"id":"8293754","name":"Sesame Seeds Black 100g","expiresAt":"2024-10-05","price":2.79,"weight":"100g","packagingUnit":"Bag","available":51},{"id":"4372851","name":"Poppy Seeds 50g","expiresAt":"2025-08-12","price":1.99,"weight":"50g","packagingUnit":"Jar","available":62},{"id":"9483726","name":"Almonds Sliced Blanched 200g","expiresAt":"2024-12-19","price":7.49,"weight":"200g","packagingUnit":"Bag","available":17},{"id":"5291837","name":"Pumpkin Seed Butter 250g","expiresAt":"2025-09-11","price":6.99,"weight":"250g","packagingUnit":"Jar","available":11},{"id":"6382749","name":"Sunflower Seed Butter 250g","expiresAt":"2024-11-01","price":5.49,"weight":"250g","packagingUnit":"Jar","available":23},{"id":"1492837","name":"Tahini (Sesame Seed Paste) 500g","expiresAt":"2025-04-30","price":4.99,"weight":"500g","packagingUnit":"Jar","available":30},{"id":"3145279","name":"Free Range Organic Eggs, 12 pcs","expiresAt":"2024-10-25","price":3.99,"weight":"720g","packagingUnit":"pcs","available":120},{"id":"5987321","name":"Barn Eggs, Medium Size, 10 pcs","expiresAt":"2024-09-18","price":2.79,"weight":"600g","packagingUnit":"pcs","available":80},{"id":"7845123","name":"Quail Eggs, 24 pcs","expiresAt":"2024-11-05","price":5.49,"weight":"288g","packagingUnit":"pcs","available":30},{"id":"2365987","name":"Liquid Egg Whites, 500ml","expiresAt":"2025-01-15","price":4.29,"weight":"500ml","packagingUnit":"bottle","available":45},{"id":"4125896","name":"Duck Eggs, 6 pcs","expiresAt":"2024-10-12","price":6.99,"weight":"480g","packagingUnit":"pcs","available":15},{"id":"7182934","name":"Organic Coconut Oil, Virgin","expiresAt":"2025-03-12","price":5.99,"weight":"500 ml","packagingUnit":"bottle","available":22},{"id":"1384725","name":"Extra Virgin Olive Oil, Cold-Pressed","expiresAt":"2024-09-25","price":12.49,"weight":"1 l","packagingUnit":"bottle","available":8},{"id":"5927381","name":"Sunflower Oil","expiresAt":"2024-11-08","price":3.79,"weight":"1 l","packagingUnit":"bottle","available":35},{"id":"2837496","name":"Avocado Oil","expiresAt":"2025-01-19","price":9.99,"weight":"250 ml","packagingUnit":"bottle","available":5},{"id":"6482739","name":"Sesame Oil, Toasted","expiresAt":"2024-10-15","price":7.29,"weight":"250 ml","packagingUnit":"bottle","available":12},{"id":"9173824","name":"Grapeseed Oil","expiresAt":"2025-04-02","price":6.89,"weight":"500 ml","packagingUnit":"bottle","available":18},{"id":"3591728","name":"Walnut Oil","expiresAt":"2024-09-18","price":11.99,"weight":"100 ml","packagingUnit":"bottle","available":3},{"id":"8273946","name":"Flaxseed Oil","expiresAt":"2024-12-28","price":8.59,"weight":"250 ml","packagingUnit":"bottle","available":9},{"id":"4728391","name":"Organic Ghee","expiresAt":"2025-02-05","price":14.99,"weight":"500 ml","packagingUnit":"jar","available":6},{"id":"1928373","name":"Peanut Oil","expiresAt":"2024-10-02","price":4.29,"weight":"1 l","packagingUnit":"bottle","available":27},{"id":"1379285","name":"Kidney Beans, Organic, 500g","expiresAt":"2024-10-25","price":2.49,"weight":"500g","packagingUnit":"Bag","available":63},{"id":"5937481","name":"Chickpeas, Dried, 1kg","expiresAt":"2025-03-11","price":3.99,"weight":"1kg","packagingUnit":"Bag","available":120},{"id":"2837468","name":"Lentils, Green, 250g","expiresAt":"2024-09-18","price":1.79,"weight":"250g","packagingUnit":"Bag","available":48},{"id":"7492831","name":"Black Beans, Canned, 400g","expiresAt":"2025-08-02","price":1.29,"weight":"400g","packagingUnit":"Can","available":200},{"id":"9283748","name":"Pinto Beans, Dried, 500g","expiresAt":"2024-12-05","price":2.79,"weight":"500g","packagingUnit":"Bag","available":75},{"id":"1728391","name":"Mung Beans, Whole, 1kg","expiresAt":"2025-01-14","price":4.99,"weight":"1kg","packagingUnit":"Bag","available":92},{"id":"6283742","name":"Fava Beans, Dried, 250g","expiresAt":"2024-11-09","price":2.29,"weight":"250g","packagingUnit":"Bag","available":35},{"id":"3847292","name":"Adzuki Beans, Organic, 500g","expiresAt":"2025-04-22","price":3.79,"weight":"500g","packagingUnit":"Bag","available":58},{"id":"5928372","name":"Soybeans, Yellow, 1kg","expiresAt":"2024-09-29","price":3.29,"weight":"1kg","packagingUnit":"Bag","available":110},{"id":"8374627","name":"White Beans, Canned, 400g","expiresAt":"2025-06-17","price":1.19,"weight":"400g","packagingUnit":"Can","available":180}]
recipes/engine.py CHANGED
@@ -3,6 +3,7 @@ import numpy as np
3
  import requests
4
  import json
5
  from .mistral_inference import text_llm
 
6
 
7
  def execute_prompt(prompt, local=True):
8
 
@@ -127,7 +128,11 @@ def price_reduction(time_to_expiration, product_type, demand, stock):
127
 
128
 
129
  def compute_reduced_prices(as_json=True):
130
- df = pd.read_json('../data/articles.json')
 
 
 
 
131
  df["product_type"] = 1
132
  df["time_to_expiration"] = np.random.rand(len(df.index))
133
  df["demand"] = np.random.rand(len(df.index))
 
3
  import requests
4
  import json
5
  from .mistral_inference import text_llm
6
+ from django.core.files.storage import default_storage
7
 
8
  def execute_prompt(prompt, local=True):
9
 
 
128
 
129
 
130
  def compute_reduced_prices(as_json=True):
131
+ #df = pd.read_json('articles.json')
132
+ file = default_storage.open('data/articles.json', 'r')
133
+ data = json.load(file)
134
+ file.close()
135
+ df = pd.DataFrame(data)
136
  df["product_type"] = 1
137
  df["time_to_expiration"] = np.random.rand(len(df.index))
138
  df["demand"] = np.random.rand(len(df.index))
recipes/views.py CHANGED
@@ -26,11 +26,13 @@ def execute_prompt_route_get(request):
26
 
27
  @api_view(['GET'])
28
  def recipe_generate_route(request):
 
29
  try:
30
  json_objs = compute_reduced_prices()
31
  obj= json.loads(json_objs)
32
  bundle_articles = bundle_function(obj[:10])
33
- result = execute_prompt(propose_recipes(bundle_articles))
 
34
  except (FileNotFoundError, json.JSONDecodeError) as e:
35
  return Response({'error': str(e)}, status=500)
36
  except Exception as e:
 
26
 
27
  @api_view(['GET'])
28
  def recipe_generate_route(request):
29
+ isLocal = False
30
  try:
31
  json_objs = compute_reduced_prices()
32
  obj= json.loads(json_objs)
33
  bundle_articles = bundle_function(obj[:10])
34
+
35
+ result = execute_prompt(propose_recipes(bundle_articles), False)
36
  except (FileNotFoundError, json.JSONDecodeError) as e:
37
  return Response({'error': str(e)}, status=500)
38
  except Exception as e: