zapi-uwaterloo
v1.0.1
Published
Api Library to make it easy to access data from the University Of Waterloo's API
Downloads
34
Readme
zapi-uwaterloo (v 1.0.0)
Introduction
Zapi is a JavaScript library built to help developers easily connect to uwaterloo api.
This component is built for UWaterloo's api.
Requirements
JQuery
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
Install
npm install zapi-uwaterloo --save
Use
You'll have to host the library yourself, so either
- Require
var zapi_uwaterloo = require('zapi-uwaterloo');
- Pull in with script (in html)
<script src="your/path/to/zapi-uwaterloo.min.js"></script>
Full list of methods supported
api
buildings
codes
courses
events
foodservices
news
server
services
terms
weather
resources
Example
zapi = new zapi_uwaterloo();
zapi.foodservices({
api_key: "{your_api}",
sub_endpoint: "menu",
}, function(data) {
console.log(data);
});
Issues
Any issues, report them here.