The theme of the event is transportation. When we thought of transportation we thought of traveling. We were wondering how much it would cost to get from point A to point B, so that is what we decided to figure out.
What it does
This program finds a rough estimate on how much it would cost to travel between 2 places by using the make and model of your car to find out the fuel efficiency and the gas prices of the states that you travel through.
How we built it
We coded it in python. We used an API to find the fuel efficiency of each car and to find a route to the destination and to get the average gas prices of each state. Then we figured out what states the route would go through using the latitude and longitude of points along the route. Then we calculated the average gas prices of each state and the distance of the route to find out how much it would cost to go to the destination.
Challenges we ran into
It was a bit tricky to get the states that the route goes through. Also it was hard to find the gas prices of each state.
Accomplishments that we're proud of
We had a rough time working with these APIs that we have been using but we made it through and got them to work, even though we spent hours making things that didn't end up working or we had to start over for some reason.
What we learned
I think a big thing that we learned is team building, none of us have really worked in a group on a project like this before so this was very beneficial to us. Also we learned how to work with APIs.
What's next for Gas Cost Calculator
I think the next step that we would implement given more time would be to find a way to tell you what towns you pass through to stop for gas to get to your destination the cheapest way possible, or a GUI.