1.1.4 • Published 8 years ago

bhp v1.1.4

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

node-bhp

Node module to interact with the Big History Project API.

Authenticated Methods

getUnitById() and some other methods will require authentication. This requires you to login with your Big History Project credentials like so:

bhp.login("sickemail", "lamepassword", function(user){
  // user object will be exposed here, cookies are saved automatically and you're ready to go!
});

You can also manually send a cookie with the initialization like this:

var BHP = require('bhp');

var ChangeOverTimeDisciplinesThresholdsClaimTesters = new BHP("some cookie");

But cookies do expire, so you'll probably want to do the login method.

Protip: You can sign up for a dummy teacher account if you don't feel like using your student account.

MORE DOCUMENTATION COMING SOON! YAY!

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago