Inspiration We wanted to address the problem with friends and family when it comes to deciding on what movie to watch, so we decided to make a program that could help with that!

What it does Twovie gives the user all the resources necessary to make a firm decision on what to watch after some time and deliberation. Twovie has 4 major features which can be accessed by the user. The user can make detailed searches of single movies, they can compare 2 movies (shows which movie has the higher IMDb rating and if they share any of the top 3 actors), they can input as many movies as they want and have one be randomly selected, and they can search the top 3 movies of any input year.

How we built it Using Python, we used a public movie API (https://www.omdbapi.com/) to access its database of information on movies and condensed it so that it is easier to digest and input into our program. We also used a variety of codes to make our random movie code and our GUI.

Challenges we ran into One of the bigger issues we ran into was that for a while, our connection with the internet was too slow for the code to parse the JSON file. This meant that the code moved on and tried to use the file before it was parsed causing it not to work. This one misunderstanding ended up costing us several hours in time which became a huge issue later on.

Accomplishments that we're proud of Although we are all proud of what we accomplished here at Jamhacks 7 over the weekend, we also think that our greatest achievement for this project was learning how to use API software along with JSON files.

What we learned Before this hackathon, we had known little more than the basics of Python. Now, we can confidently say that we are familiar with these new techniques and can use API keys to access a wide variety of information on the internet through our own code.

What's next for Twovie Next, we want to transfer our code from our small hard-to-access window that is opened when we run the code on Pycharm to a large-scale website that anyone could access. To do this, we would need to spend some time learning Javascript.

Built With

  • api
  • http://imdb-api.com/en/api/top250movies/
  • https://www.omdbapi.com/
  • json
  • python
Share this project:

Updates