HighSchoolCube API Client in Node.js
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json
test.js

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