-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
41 lines (31 loc) · 711 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/python
# Name: WIN
# File: WIN/main.py
#
# Author(s): Grant McGovern & Gaurav Sheni
# Date: Wed 11 March 2015
#
# URL: www.github.com/g12mcgov/WIN
#
# ~ Description:
# - A driver main() method used for debugging
# and testing.
#
#
#
from wfu.win import WIN
def main():
username = "mcgoga12"
password = ""
win = WIN(username, password)
win.login()
student = win.internal_directory(first_name="grant", last_name=None, association="student", id=None)
for item in student:
print item
# #print student
# schedule = win.current_schedule(term="Spring 2015")
# print schedule
# schedule = win.current_schedule(term="Fall 2013")
win.shutDown()
if __name__ == "__main__":
main()