zapi-uwaterloo

1.0.1 • Public • Published

alt text

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);
 });

Api Documentation

Github Page

NPM Module

Issues

Any issues, report them here.

Readme

Keywords

Package Sidebar

Install

npm i zapi-uwaterloo

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • zlwaterfield