mirror of
https://github.com/ION606/linkedin-api.git
synced 2026-05-14 22:06:54 +00:00
company size fix
This commit is contained in:
@@ -7,8 +7,10 @@ import fs from 'fs';
|
||||
const o = JSON.parse(fs.readFileSync('config.json'));
|
||||
await LAPI.login(o.email, o.password);
|
||||
|
||||
const c = await LAPI.searchCompanies('microsoft', undefined, 0, true, true);
|
||||
const c = await LAPI.searchCompanies('microsoft', [10, 500, 5000], 0, true, true);
|
||||
|
||||
console.log(c);
|
||||
|
||||
const managers = await c.find(o => (o.name === 'Microsoft')).searchEmployees('manager', 5);
|
||||
console.log(managers, managers.length);
|
||||
})();undefined
|
||||
})();
|
||||
Reference in New Issue
Block a user