1.0.1 • Published 11 months ago

projects.co.id v1.0.1

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

Unofficial client for Projects.co.id get latest latest project , your bids , finance , and search for open project

Install

npm install projects.co.id

Usage

Call the class

   import {Client,WebSocketClient} from 'projects.co.id';
   const client = new Client();
  • Login
    await client.login('username', 'password');
  • Get new project
   await client.getNewProject();
  • Get my bids
   await client.getMyBids();
  • Search Project
 await client.seacrhProject("query");

Listen notification

in here you need an auth key , since i don't know how to produce or revenge the authKey , you can do it manually

  • open the projects.co.id
  • login to your account
  • see the network traffic for push.projects.co.id

asd

look up at first socket send message , get your authkey in there

const client = new WebSocketClient();
client.open('authkey');
client.onMessage();
client.onError();