Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

HighSchoolCube API Client in Node.js

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Node.js HighSchoolCube Client

Usage

var HSC = require("hsc");
var hsc = new HSC("myUsername", "myPassword", function(success){
    if(success){
        hsc.get("activity", function(err, ret){
            if(err){
                console.error(err);
            }else{
                for(var i = 0; i < ret.results.length; i++){
                    console.log(ret.results[i].affected);
                }
            }
        });
    }
});

API Functions

API details are available at the HighSchoolCube API Site

Something went wrong with that request. Please try again.