Not Providing Milkshakes
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    zapi-uwaterloopublic

    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.

    install

    npm i zapi-uwaterloo

    Downloadsweekly downloads

    7

    version

    1.0.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar