Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 989 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 989 Bytes

#Link - A Linkedin API Wrapper that doesn't suck

link

#Magnets, how do they work?!

Testing this from your interpreter is pretty easy

from link import Link
l = Link(linkedin_key='yourkeygoeshere', linkedin_secret='yoursecretgoeshere')
# get your request token and authorization url
request_token = l.get_request_token()

# now open up request_token['url'] in your browser and authorize your app
# you will be given a verifier with which you can get your access token
access_token = l.get_access_token(yourverfiergoeshere')

#now you can make a request for your profile info
l.get_profile()

#or maybe you want to get specific fields from your profile
l.get_profile(field_selectors=('id', 'first-name', 'last-name', 'company'))

#Want to Contribute? Fork this repo, submit a pull request with your changes and an updated Authors.md with your name.

Thats it!

Author: Mike Grouchy (@mgrouchy)