Unofficial client for Projects.co.id get latest latest project , your bids , finance , and search for open project
npm install projects.co.id
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");
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
look up at first socket send message , get your authkey in there
const client = new WebSocketClient();
client.open('authkey');
client.onMessage();
client.onError();