0.2.7 • Published 12 months ago

nodehakoapi v0.2.7

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

node-hako-api

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.

NPM version Coverage Status npm npm npm

Table of Contents

Note

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.

Install

npm:

npm install nodehakoapi

Usage

Node

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();
})();

Supported Platforms

  • Node: v6.x+

License

MIT © Nekov5

0.2.7

12 months ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago