forked from yql/yql-tables
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding ClassBySLN Table to edu.wsu.schedules
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any"> | ||
<meta> | ||
<author>Washington State University</author> | ||
<author>Jeff Craig <jacraig@wsu.edu></author> | ||
<documentationURL>http://schedules.wsu.edu/API/</documentationURL> | ||
<description>Get current schedule data for a single section selected by Schedule Line Number from Washington State University</description> | ||
<sampleQuery>select * from {table} where year=2011 and term=1 and sln=0477</sampleQuery> | ||
</meta> | ||
<bindings> | ||
<select produces="JSON"> | ||
<urls> | ||
<url>http://schedules.wsu.edu/API/Classes/{year}{term}/{sln}</url> | ||
</urls> | ||
<inputs> | ||
<key id="year" type="xs:integer" paramType="path" required="true" /> | ||
<key id="term" type="xs:integer" paramType="path" required="true" /> | ||
<key id="sln" type="xs:integer" paramType="path" required="true" /> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |