Commit 4f8a03db authored by root's avatar root

Further updates

parent ed6999c5
......@@ -4,7 +4,7 @@
<HR />
The GMUCal API accepts queries via HTTP URL parameters and returns results as JSON objects.
<P />
The general format for a GMUCal query is: <code>http://www.gmucal.com/api.html?query=&lt;QUERY_TYPE&gt;[&amp;&lt;QUERY_CRITERION_KEY&gt;=&lt;QUERY_CRITERION_VALUE&gt;]</code>
The general format for a GMUCal query is: <code>https://schedules.gmu.edu/api/api.html?query=&lt;QUERY_TYPE&gt;[&amp;&lt;QUERY_CRITERION_KEY&gt;=&lt;QUERY_CRITERION_VALUE&gt;]</code>
<HR />
<UL>
<LI><b>Query Type: Terms</b>
......@@ -15,7 +15,7 @@ The general format for a GMUCal query is: <code>http://www.gmucal.com/api.html?q
<P />
<b>Query results:</b> An array of terms. Each term is a two-element list: [term code, term name].
<P />
<b>Example request:</b> <code>http://www.gmucal.com/api.html?query=terms</code>
<b>Example request:</b> <code>https://schedules.gmu.edu/api/api.html?query=terms</code>
<P />
<b>Example response:</b> <code>[["201570","Fall 2015"],["201540","Summer 2015"],...]</code>
......@@ -48,7 +48,7 @@ The general format for a GMUCal query is: <code>http://www.gmucal.com/api.html?q
<LI><b>class_type:</b> The type of the class session
<LI><b>instructors:</b> The instructors for the class session
</UL></UL><P />
<b>Example request:</b> <code>http://www.gmucal.com/api.html?query=term_classes&term=201570</code>
<b>Example request:</b> <code>https://schedules.gmu.edu/api/api.html?query=term_classes&term=201570</code>
<P />
<b>Example response:</b> <code>[{"crn":"71524","name":"ACCT 203","title":"Survey of Accounting","section":"001","campus":"Fairfax Campus","session_templates":[{"date_range":"Aug 31, 2015 - Dec 21, 2015","days":"M","time":"1:30 pm - 2:45 pm","location":"Enterprise Hall 178","class_type":"Lecture","instructors":"Constance M Hylton"}]},...]</code>
......@@ -68,7 +68,7 @@ The general format for a GMUCal query is: <code>http://www.gmucal.com/api.html?q
<LI><b>instructor:</b> Instructor name
<LI><b>status:</b> Class status (usually "CONFIRMED," but can also be "RESCHEDULED" or "CANCELED", based on the such as for holidays)
</UL></UL><P />
<b>Example request:</b> <code>http://www.gmucal.com/api.html?query=class_sessions&term=201570&crn=74570</code>
<b>Example request:</b> <code>https://schedules.gmu.edu/api/api.html?query=class_sessions&term=201570&crn=74570</code>
<P />
<b>Example response:</b> <code>[[{"crn":"71524","name":"ACCT 203",...},[{"start":"2015-08-31T17:30:00.000Z","end":"2015-08-31T18:45:00.000Z","type":"Lecture","location":"Enterprise Hall 178","instructor":"TBA","status":"CONFIRMED"},...]]</code>
......
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=x-mac-roman">
<link rel="stylesheet" href="static/css/bootstrap.min.css">
<TITLE>George Mason University Class Calendar Generator (GMUCal) FAQ</TITLE>
</HEAD>
<BODY>
......
......@@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=macintosh">
<title>George Mason University Class Calendar Generator (GMUCal)</title>
<link href="../schedules/static/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="static/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
......@@ -20,7 +20,7 @@
<p>
<div id="terms">Select Term:
<select id="select_term" size="1" onchange="on_term_id();" autocomplete="off">
<select class="form-control" id="select_term" size="1" onchange="on_term_id();" autocomplete="off">
<option value="201670" selected="selected">Fall 2016</option>
<option value="201610">Spring 2016</option>
<option value="201570">Fall 2015</option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment