Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic data from getProfile function results #279

Open
motis10 opened this issue Sep 22, 2021 · 3 comments
Open

Basic data from getProfile function results #279

motis10 opened this issue Sep 22, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@motis10
Copy link

motis10 commented Sep 22, 2021

After client.profile.getProfile() called, the json result is huge but basic info are not readable...
like:
'*profileEducations': 'urn:li:collectionResponse:jbS7v/aiGf+n48yZ43Ev0e9BPKSkfWZWLisSWcr5P4A=',

Experience is not showing at all..

@eilonmore eilonmore added the enhancement New feature or request label Sep 28, 2021
@jannikbuscha
Copy link

I have found a workaround how to get more info in such cases:

(async () => {
  const client = new Client();

  await client.login.userPass({
    username: username,
    password: password
  });

  const _headers = client.request.request.defaults.headers;

  await fetch("https://www.linkedin.com/voyager/api/identity/profiles/your_name/skills", {
    method: 'GET',
    headers: _headers,
  })
    .then((response) => response.json())
    .then((data) => console.log(data));
})();

@motis10
Copy link
Author

motis10 commented Jan 2, 2023

And it return the skills?

@jannikbuscha
Copy link

Educations'

in my example, yes.
I think you can just replace it with "educations", for that you just have to look in the linkedin voyager-api docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants