An unofficial lib to retrieve data from ln.hako.vn website, no username or password required. Other methods are not implemented yet. Feel free to contribute.
This package is not affiliated with or endorsed by Hako or any related parties. I'm still working on this package, so expect more features to come.
npm:
npm install nodehakoapi
const NHA = require('nodehakoapi');
//test function
(async () => {
//get user info
let userInfo = await NHA.common.User.get("https://ln.hako.vn/thanh-vien/104802");
let projectInfo = await NHA.common.User.get("https://ln.hako.vn/project/10000");
//Auth required function
let user = new NHA.managers.UserManager("username", "password");
let user = await user.login();
//get notification
let notification = await user.getNotifications();
//get unread project
let unreadProject = await user.getUnreadProjects();
})();
- Node: v6.x+