calpoly-csai / api

Official API for the NIMBUS Voice Assistant accessible via HTTP REST protocol.
https://nimbus.api.calpolycsai.com/
GNU General Public License v3.0
9 stars 4 forks source link

added the OfficeHours entity schema #120

Closed chidiewenike closed 4 years ago

chidiewenike commented 4 years ago

What's New?

Added the "OfficeHours" entity class to accommodate for answering questions about office hours. The format is comparable to the other entities.

Fixes #116

Type of change (pick-one)

How Has This Been Tested?

GitHub Logo

The entity was tested by extracting information from the database and displaying it to the screen. The image above shows the instructions on how it was completed and it was run on Windows 10.

Checklist (check-all-before-merge)

formatting help: - [x] means "checked' and - [ ] means "unchecked"

mfekadu commented 4 years ago

@chidiewenike

I think you've added more code, right?

Have you done a git push recently?

chidiewenike commented 4 years ago

@mfekadu The save_office_hours is written but I need to ensure it is intuitively complete.

chidiewenike commented 4 years ago

@mfekadu Added the save_office_hours function to flask_api.py and created office_hours_post_request.py to send the post request.