BradleyBartelt / P2__Waves

Tri 3 project for P2__Waves
2 stars 1 forks source link

ticket 3 Bradley Bartelt: #15

Open BradleyBartelt opened 3 years ago

BradleyBartelt commented 3 years ago

Link to location in runtime: http://www.pieceofthepi.cf/PizzaPrices

Original plan was to use an api in order to collect pricing information from a pizza site (dominos, pizzahut, or something else). Dominos does not have an official api, so I tried using ones made by other people. However, out of the 5 diffrent ones I tried, none of them worked. I developed the front end of this, and where it says price on the webpage, the real prices were going to go there. Because the apis didn't work as I intended, I added a little section on the bottom where you can compare the prices of diffrent pizza places. This uses Git and POST, but the prices are hard coded in instead of obtained using an api.

Links to code: HTML file: https://github.com/BradleyBartelt/P2__Waves/blob/main/templates/pizzapi.html Python file: https://github.com/BradleyBartelt/P2__Waves/blob/main/pizzacompare.py

colin-szeto commented 3 years ago

Nice effort, put in work to utilize classes in a comparison. Excited to see linking up backed to the class (from api)

KetherBuG commented 3 years ago

Good job Bradley. Make sure you incorporate more Jinja in showing the information from the API. Also taking advantage of Postman would be quite nice :)

Diegokrenz commented 3 years ago

Good job Bradley. You have been working very hard with Colin in our breakout room on the API. I am excited to see the final product.