Notebooks >> Scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
580 B

https://pythonrepo.com/repo/tomquirk-linkedin-api-python-third-party-apis-wrappers#versioning-note
https://linkedin-api.readthedocs.io/en/latest/api.html
pip3 install linkedin-api~=2.0.0a
from linkedin_api import Linkedin
# Authenticate using any Linkedin account credentials
api = Linkedin('reedhoffman@linkedin.com', '*******')
# GET a profile
profile = api.get_profile('billy-g')
# GET a profiles contact info
contact_info = api.get_profile_contact_info('billy-g')
# GET 1st degree connections of a given profile
connections = api.get_profile_connections('1234asc12304')