What it does

The application lets you input a TV show episode or movie that you want to watch. The program makes a call to YouTube's API and gets the duration of your query. Then, by looking at your Google Calendar events for the upcoming week, it attempts to calculate the duration of the free time between busy events. If you have enough free time to watch the show or movie you want to see, it will create a new event for you at that time. So basically, our code aims to schedule all your binge-watching needs through using Youtube Google Calendar APIs.

Challenges I ran into

I was able to fetch events and sort them by day and time, but for some reason there were multiples of the same event and the durations/free time durations were a little bit off. Additionally, using the YouTube API was complicated, and I couldn't figure out how to get an actual video from a search of videos (that returns a JSON query) so that I could get the first video's duration.

What's next for Praise

Hopefully if I can get the math working, we can have correct the errors we ran into with calculating free event times. Also, maybe I'll become better at JavaScript in the future and won't run into syntactical or JavaScript-specific problems.

Share this project:

Updates