command line tool for seminar room reservation for Department of Physics, SNU
We often need to reserve seminar rooms for various reasons, such as study groups with your friends, lab meetings with your lab members, etc. If you have to reserve seminar rooms for several times at once, it will be great to have a automation tool for that. By analyzing the seminar room reservation pages we can find out the reservation system can be easily accessible with simple lines of codes. So this is the output, although it didn't finish yet.
- Understand the seminar room reservation system
- Make a simple command line tool for seminal room reservation.
- Make it iterable.
- Make GUI tool with Electron, if I have some time.
- Name of the meeting
- Room number
- Name of the professor
- Date
- starting time
- ending time
- Contact Information
- Password
python3 reservation.py -d "date" -n "name" -r "room number" -s "starting time" -e "ending time" -p "prof name" -c "contact"
- All option values shall be surrounded by double quotation marks, ex) -d "2018-07-17"
- You can use -w option to make password for your reservation. Otherwise, it's Alpine for default.
- You can use -i option to reserve seminar room for multiple weeks with same setting. default is 1.
-d, --date Date to reserve a room. ex)2018-07-09
-n --name name of the meeting
-r --room Seminar Room Number. ex)23-312,56-321
-s --start Seminar starting time in 4 digit number. ex)1000(10 a.m.), 1400(2 p.m.)
-e --end Seminar ending time in 4 digit number. ex)1000(10 a.m.), 1400(2 p.m.)
-p --prof Name of the Professor
-c --contact Contact Information
-w --password Password needed to cancel reservation. Default is "alpine" if you don't use this option.
-i --iteration Number of weeks to reserve with same settings excecpt date. default: 1
The seminar room reservation is only possible inside university's network. So does this software.
- Python3
- Requests library
This software is distributed under GPL v3.0