Api Library to make it easy to access data from the University Of Waterloo's API
npm install zapi-uwaterloozapi-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
``html`
Install
---------
``
npm install zapi-uwaterloo --save
Use
--------------------
You'll have to host the library yourself, so either
- Require
`javascript`
var zapi_uwaterloo = require('zapi-uwaterloo');
- Pull in with script (in html)
`html`
Full list of methods supported
------------------------------
- apibuildings
- codes
- courses
- events
- foodservices
- news
- server
- services
- terms
- weather
- resources
-
Example
-------
`javascript``
zapi = new zapi_uwaterloo();
zapi.foodservices({
api_key: "{your_api}",
sub_endpoint: "menu",
}, function(data) {
console.log(data);
});
Issues
------
Any issues, report them here.