Code‎ > ‎Data_Extraction‎ > ‎

linked-in-api

Notes on how to use the python linkedIn API
==========================================


Information on how to get an Api key is here:


https://developer.linkedin.com/rest

Use
API Key:
Secret Key:


Install python linkedIn api from http://code.google.com/p/python-linkedin/

Download: http://code.google.com/p/python-linkedin/downloads/detail?name=python-linkedin-1.8.1.tar.gz


python code extract:

from linkedin import helper

KEY = "123"
SECRET = "456"

# This will return oath_token address
api = helper.quick_api(KEY, SECRET)

# Replace <COMPANY_NAME> with any company name, e.g. "Cleantech Group"
api.get_search({'company' : <COMPANY_NAME>, 'current_company': 'true', 'start' : '1'})

Comments