Open BradleyBartelt opened 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)
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 :)
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.
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