1.1.3 • Published 7 years ago
linkedin-unofficial-api v1.1.3
linkedin-unofficial-api-node
Unofficial node.js linkedin api implementation.
Requirements
- EcmaScript 6
API
Methods
Authentication
Current user
Other users
- getProfileById(id)
- getConnectionsById(id)
- getBackgroundById(id)
- getEndorsementsById(id)
- getRecommendationsById(id)
Usage
const linkedin = require('linkedin-unofficial-api')('email', 'pass');
linkedin
.authenticate()
.then(linkedin.getWVMP)
.then((profile) => {
res.send(profile);
})
.catch((err) => {
res.send(err);
});
Methods
authenticate
Response
null or challenge_url string
Error
Bad linkedin password provided
Credits
Big thanks to Nick Lane-Smith (nickls) who did the research and thoroughly described linkedin mobile api in his repository.
Also hi-five to all authors and contributors to request-promise library which is used heavily by api.