<-

Syllabus-To-Google-Calendar App

The intent of this app is to make a quick and easy way to convert your syllabus into actual assignments with due dates to keep you on track.

To create the app, I used the Google Tasks API and the Gemeni API.

First, the Gemeni API reads the text of your syllabus under my given prompt (see below). It then parses it into JSON data which contains the date and title of the assignment.

That JSON data is then translated into valid JSON to create a Task in the Google Tasks API.

Then the Tasks API gets your first task list and pastes the new tasks inside it.

Full Project

Showcase

Prompt

sort the following syllabus into JSON of Date and Content, with the date being the due date of a given assignment and the content being the given content of the assignment. Ignore text that is not directly related to an assigment. If the assignment name contains quotation marks, precede them with a / Example Input: " Week 1 W 09/04 Introducing the Course Discuss syllabus DG: “What to Expect in Your First-Year Writing Classes” (Ch.2) Week 2 M 09/09 The Joy of Reading and Writing D2l: “The Joy of Reading and Writing: Superman and Me” –Alexie “Learning to Read” – Malcolm X" Example output: {"date": "09/04", "content": "DG: \"What to Expect in Your First-Year Writing Classes\" (Ch.2)"} {"date": "09/09", "content": “D2l: \"The Joy of Reading and Writing: Superman and Me\" –Alexie"} {"date": "09/09", "content": “D2l: \"Learning to Read – Malcolm X\""}

Code Snippets