Skip to content

Commit

Permalink
1 New Product
Browse files Browse the repository at this point in the history
  • Loading branch information
yZipperer committed Oct 6, 2021
1 parent a3172c7 commit 59066d9
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
## Overview:
This is a product API for grocery and item data. It will return information including prices, names, images descriptions, ids, nutrition information, and much more.

I built this API when I tried finding product data for a project, but couldn't find any that worked for my needs. The database is small and only contains 92 products, but new products are added every so often.
I built this API when I tried finding product data for a project, but couldn't find any that worked for my needs. The database is small and only contains 93 products, but new products are added every so often.

Newly introduced was the idea of multiple countries. Now, this project will include data from multiple countries.

### By the Numbers:
* 92 total items
* 87 categories
* 93 total items
* 88 categories
* 67 different brands
* 2 countries
* $236.25 worth of products
* $236.82 worth of products
* 119,761 total calories*

*some products may not be accounted for due to unreadable or incomplete nutritional information
Expand Down Expand Up @@ -203,6 +203,7 @@
* corn
* matcha
* peach
* green-apple
* snacks
* popcorn
* breadsticks
Expand Down
34 changes: 34 additions & 0 deletions data/Japan/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,39 @@
"protein": ""
},
"ingredients": "Concentrated Fruit Juice, Acidulant, Cellulose, Collagen, Fragrance, Glycerin, Potassium, Starch, Sugar, Vegetable Oil"
},
{
"name": "Yaokin Green Apple Gummy",
"id": "Jfcg005",
"category": ["snacks", "candy", "gummy", "green-apple"],
"brand": "Yaokin",
"weight": "28 grams",
"hot": false,
"cold": false,
"frozen": false,
"description": "The packet of Apple Gummy is full of delicate aroma when opened. The aroma remains in your nose for a while. There are 12 mini gummies in each bag and they easily melt with the warmth of the mouth.",
"price": {
"USD": {
"default": "0.57",
"formatted": "$0.57/each"
},
"JPY": {
"default": "57",
"formatted": "¥57/each"
}
},
"image": "http://localhost:8080/Japan/Jfcg005.jpg",
"nutrition": {
"serving size": "",
"servings per container": "",
"calories": "",
"fat": "",
"cholesterol": "",
"sodium": "",
"potassium": "",
"carbohydrates": "",
"protein": ""
},
"ingredients": "Concentrated Fruit Juice, Acidulant, Cellulose, Collagen, Fragrance, Glycerin, Potassium, Starch, Sugar, Vegetable Oil"
}
]
2 changes: 2 additions & 0 deletions data/Japan/masterList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Categories:
- corn
- matcha
- peach
- green-apple
- snacks
- popcorn
- breadsticks
Expand All @@ -26,6 +27,7 @@ Items:

- Yaokin Salty Popcorn**
- Yaokin Peach Gummy**
- Yaokin Green Apple Gummy**

- Glico Pocky Matcha Chocolate

Expand Down
3 changes: 2 additions & 1 deletion data/Japan/statsTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"breadsticks": 0,
"matcha": 0,
"gummy": 0,
"peach": 0
"peach": 0,
"green-apple": 0
}
}
2 changes: 2 additions & 0 deletions data/masterList
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Categories:
- corn
- matcha
- peach
- green-apple
- pasta
- ravioli
- meatballs
Expand Down Expand Up @@ -312,6 +313,7 @@ Items:

- Yaokin Salty Popcorn**
- Yaokin Peach Gummy**
- Yaokin Green Apple Gummy**

Due to language barriers, some products may not have complete nutritional information:
*incomplete nutritional information
Expand Down
3 changes: 2 additions & 1 deletion data/masterStatsTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"breadsticks": 0,
"matcha": 0,
"gummy": 0,
"peach": 0
"peach": 0,
"green-apple": 0
}
}
Binary file added images/Japan/Jfcg005.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 59066d9

Please sign in to comment.