linkedin-api-voyager 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ import { Client } from "linkedin-api-voyager";
|
|
|
26
26
|
// Configure suas credenciais uma única vez
|
|
27
27
|
Client({
|
|
28
28
|
JSESSIONID: process.env.LINKEDIN_JSESSIONID, // ex: "ajax:123456789" (apenas os números se preferir, a lib trata)
|
|
29
|
-
li_at: process.env.LINKEDIN_LI_AT,
|
|
29
|
+
li_at: process.env.LINKEDIN_LI_AT, // ex: "AQEDAR..."
|
|
30
30
|
});
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -57,11 +57,11 @@ import {
|
|
|
57
57
|
} from "linkedin-api-voyager";
|
|
58
58
|
|
|
59
59
|
// Exemplo: Buscar perfil
|
|
60
|
-
const profile = await getUserMiniProfile("
|
|
60
|
+
const profile = await getUserMiniProfile("florymignon");
|
|
61
61
|
console.log(profile);
|
|
62
62
|
|
|
63
63
|
// Exemplo: Buscar experiências
|
|
64
|
-
const experiences = await getProfissionalExperiences("
|
|
64
|
+
const experiences = await getProfissionalExperiences("florymignon");
|
|
65
65
|
|
|
66
66
|
// Exemplo: Buscar empresa
|
|
67
67
|
const company = await getCompany("microsoft");
|
|
@@ -85,12 +85,14 @@ const comments = await getCommentsByPostUrl(
|
|
|
85
85
|
### Módulos Disponíveis
|
|
86
86
|
|
|
87
87
|
A biblioteca exporta funções dos seguintes módulos:
|
|
88
|
+
|
|
88
89
|
- `user`: Perfis e dados de usuário.
|
|
89
90
|
- `company`: Dados de empresas.
|
|
90
91
|
- `posts`: Interações com posts e comentários.
|
|
91
92
|
- `search`: Busca de pessoas e empresas.
|
|
92
93
|
- `utils`: Utilitários gerais.
|
|
93
|
-
|
|
94
|
+
|
|
95
|
+
````
|
|
94
96
|
|
|
95
97
|
### `src/user.ts`
|
|
96
98
|
|
|
@@ -141,7 +143,7 @@ import {
|
|
|
141
143
|
getLinkedinCertifications,
|
|
142
144
|
} from "linkedin-api-voyager";
|
|
143
145
|
|
|
144
|
-
const identifier = "
|
|
146
|
+
const identifier = "florymignon";
|
|
145
147
|
|
|
146
148
|
const mini = await getUserMiniProfile(identifier);
|
|
147
149
|
const about = await getProfileSectionAbout(identifier);
|
|
@@ -150,7 +152,7 @@ const contact = await getContactInfo(identifier);
|
|
|
150
152
|
const skills = await getLinkedinSkills(identifier);
|
|
151
153
|
const education = await getLinkedinEducation(identifier);
|
|
152
154
|
const certifications = await getLinkedinCertifications(identifier);
|
|
153
|
-
|
|
155
|
+
````
|
|
154
156
|
|
|
155
157
|
### `src/company.ts`
|
|
156
158
|
|