Inspiration
I'm (Induja) a newbie to hackathons and in my first hackathon (which was LHD: Build), people from the APAC region, including myself, were exhausted from catching up with the event being halfway across the Earth. I found myself and fellow APAC hackers pulling all-nighters just to show up at events at 2:00 am or 4:00 am. It was chaos trying to catch up with events when you haven't slept for days. When HackAPAC came along, I took this chance to make an app that'd be an International Hacker's compass. Hence this Cross-timezone reminder app.
What it does
This is a time zone converter at present. Our idea for Hack APAC is to make a cross-timezone reminder app that automatically converts timezones and sets a reminder. We believe this would be a desktop app of sorts. Run the timedb.py file in the Github Repo to see the time converter in action!
How we built it
I have always heard about APIs and the vast range of possibilities it opens up. Despite being a beginner, i decided to try out APIs and build something out of it. For this project, I used 3 APIs.
I used the WorldTimeAPI to list the timezones and the Timezonedb API to handle the conversions of time, as it'd be impossible to tackle each time zone manually. To use the API, I needed the origin and destination time zone data along with the time to convert as well. But the Timezonedb API was limited to returning only the Unix Timestamps of the converted time, so I needed help to convert the Timestamps to human-readable time. I used the Unix Time API to accomplish this.
Challenges we ran into
I had trouble converting between the Unix Timestamps as the Timezonedb API did not support conversion from Unix to formatted time.
Accomplishments that we're proud of
I dived into something completely new for us and build an app out of it. APIs aren't as complicated as they seem after all.
What we learned
A heck load of Python and Timezone Trivia.
What's next for Save the APACs!
Create a reminder function that sends an email before the scheduled event through the SendGrid API. Maybe even a GUI would look cool.
Built With
- python
- timezonedb
- unixtime
- worldtimeapi

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