@busshi/linkedin-private-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

NodeJS LinkedIn API

Forked version of this API but with additionnal functionnalities waiting for the author to merge the pull request

Installation

yarn add @busshi/linkedin-private-api

Examples

import { Client } from "@busshi/linkedin-private-api";

const receivedScroller = client.invitation.getReceivedInvitations();
const receivedInvitations = await receivedScroller.scrollNext();

for (const invit of receivedInvitations) {
    const { entityUrn, profile, sharedSecret } = invit;
    const { profileId } = profile;
    const invitationId = entityUrn.split(":")[3];

    await client.invitation.replyInvitation({
        invitationId,
        invitationSharedSecret: sharedSecret,
    });
}  
const conversation = await client.conversation.markConversationAsRead({
      conversationId,
});
console.log(conversation);

Notes

Made for learning purposes.

Package Sidebar

Install

npm i @busshi/linkedin-private-api

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

223 kB

Total Files

280

Last publish

Collaborators

  • busshi