Inspiration
Our inspiration was the ever-growing threat of climate change and the effects that car CO2 emissions have on the planet.
What it does
Our program/interface takes in the users vehicle information and how many miles that they drove in the week. The program then fetches data from an online API, calculates MPG, emmision rate and compares to the average American driver.
How we built it
We started by finding an API that would take in a vehicles make, model and year. Then we used Python to fetch the MPG, emission rates, etc. We then took this data and calculated emissions for the given week and compared to that of the average American driver. We used Tkinter for the GUI, sinbad to parse the XML and basic Python for the calculations.
Challenges we ran into
We ran into issues with connecting to the API a few times, parsing the correct XML and calculating the correct values for emission comparisons.
Accomplishments that we're proud of
We are proud of our use of sinbad and the overall use of the program, to reduce the effects that car emissions have on climate change.
What we learned
We learned how to parse XML data, design a GUI in Tkinter and make use of online data resources, such as EPA (Environmental Protection Agency) and fueleconomy.gov (the governments collection of car data).
What's next for Car Emission Tracker/Calculator
We want a better looking GUI most of all, followed by a more intuitive User Experience. We want to make the program have several tabs, such as a friends page so that users can compare themselves to their friends. We also want to visually display the data using pie charts and more appealing colors
Built With
- epa
- fueleconomy.gov
- python
- sinbad
- tkinter
- xml
Log in or sign up for Devpost to join the conversation.