Inspiration
The Kurius Hackathon Challenge #1
What it does
The following program locates nearby food banks within a given district, address, and radius in the United Kingdom. Errors will be given if the required fields are missing. If no postal code is given, then it displays food banks in the inputted district. If a postal code is given, it will return the 10 closest food banks to you. The information that is displayed in the GUI after choosing a food bank is the name, address, email, link to the website, and the foodbanks needed/given food.
How we built it
We used the Python programming language and the Tkinter framework to build the GUI. We also used JSON to use the information in the API.
Challenges we ran into
Some challenges we faced were getting our information to fit the background we made but with tweaks, we were able to overcome this. Another challenge we had was as it was our first time using an API, we didn't know how to parse through the information so originally we used a .CSV file but then later used the API as it was easier to parse the information. We also wanted a .GIF file that we made to be used as a loading screen, but we were unable to get that working.
Accomplishments that we're proud of
We are proud of making an aesthetically appealing GUI (in our opinion), and being able to pull information from the API as it was our first time.
What we learned
We learned many intricacies of Tkinter, and for many of us, it was the first time using it. For many of us, we also used APIs for the first time in Python. Not only that, but we all undoubtedly became more proficient in python. Finally, we learned how to organize roles within a group and work together efficiently.
What's next for Food Bank Locator UK Edition
Expanding to other regions and countries in the world. Also, adding a map feature in the GUI.
SAMPLE INPUTS
With Postal Code
- Country: England, District: Cornwall, PostalCode: TR18 3PZ
- Country: Northern Ireland, District: Ards and North Down, PostalCode: BT19 7QR
- Country: Scotland, District: Glasgow City, PostalCode: G51 1QL
No Postal Code
- Country: England, District: Cornwall
- Country: Northern Ireland, District: Lisburn and Castlereagh
- Country: Wales, District: Swansea
Built With
- food-bank-api
- python
- tkinter


Log in or sign up for Devpost to join the conversation.