installing:
npm install au-election --save
example code:
import getData from "au-election";
getData((err,data) => {
if(err) {
console.log("boo hoo");
return console.trace(err);
}
// do shit with data
// data is an IElectionData object (see interfaces.ts)
});