LinkedinΒΆ

manydataapi.linkedin.LinkedInAccess (self, api_key, secret_key, user_token, user_secret)

This class manages the access to LinkedIn functionalities.

It assumes you requested an access to the API LinkedIn See also ipython + python-linkedin.

See linkedin, linkedin. This class proposes simplified versions of the same methods, you should follow those link to see what is missing. About LinkedIn:

Search API:

https://api.linkedin.com/v1/company-search:(companies:(id,name,logo_url))?keywords=keyword?oauth2_access_token={accesstoken}&format=json

connect (self, all_permissions = True)

Opens the connection to linkedin (using the api_key and the secret_key).

get_connections (self, totals_only = None, params = None, headers = None)

Retrieves the connection for a given profile.

get_profile (self, selectors = None, idu = None, url = None)

Returns the profile of the connected user.

search_profile (self, params, selectors = None, count = 10, as_df = False, start = 0, fLOG = None)

Searches profiles on linkedin, allowed parameters (replace _ by -):

  • first-name

  • last-name

The others fields are (see search api

http://api.linkedin.com/v1/people-search?
    keywords=[space delimited keywords]&
    first-name=[first name]&
    last-name=[last name]&
    company-name=[company name]&
    current-company=[true|false]&
    title=[title]&
    current-title=[true|false]&
    school-name=[school name]&
    current-school=[true|false]&
    country-code=[country code]&
    postal-code=[postal code]&
    distance=[miles]&
    start=[number]&
    count=[1-25]&
    facet=[facet code, values]&
    facets=[facet codes]&
    sort=[connections|recommenders|distance|relevance]