GithubHelp home page GithubHelp logo

hackathon-group-1's Introduction

Open in Codespaces

Get Assignment Dates

Report Issue on Jira Deploy Docs Documentation Website Link

Keywords

Section 704, Group 1, Python, dates, syllabus

Project Abstract

Our group created a python file that prints out the dates of assignments that are completed and upcoming. The idea was to create a simple project within the time constraint. It also was easy to run and straight to the point. Everyone in the group thought it would be easier to have a list of assignments instead of a complicated project.

High Level Requirement

Describe the requirements โ€“ i.e., what the product does and how it does it from a user point of view โ€“ at a high level. When the user puts python dates.py into the terminal, the following picture of what the terminal would look like is pictured below

{95F6536D-0BD5-44F0-B1A0-42EA54CB9457}

Conceptual Design

The program is run on one python file, and the output is the user's terminal

Background

The program starts by setting up an HTTPS connection with the specified website. Then, it sets up the payload and headers for the GET request. After that it creates the GET request to the API endpoint "/api/syllabus/1". It then gets the response from the API, reads the data from the response, decodes the JSON data, and finally stores it in a variable. After it finsihes this process, it then gets the list of events from the data and initializes an empty list to store the event dates & names. The python file finally ends with a for loop that goes through each event in the list of events, gets today's date and if today's date is less than the assignment's due date, print that it is upcoming, if it is not this, the termianl prints that it is completed.

sequenceDiagram
actor User
autonumber
    User ->> IDE: Send Request For Schedule
    IDE ->> Course Website: Connect to the Website
    Course Website ->> API: Get "/api/syllabus/1"
    API ->> Course Website: Return event_dates, event_names
    Course Website ->> IDE: Return event_dates, event_names
    IDE ->> User: Return Dates for Assignments
Loading

Required Resources

IDE, Python

Collaborators

Tyler Weiss, Kat Tejada, Aaron Thomas, Ben Baldino, Steven Altemose

hackathon-group-1's People

Contributors

benbaldino avatar github-classroom[bot] avatar tweiss9 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.