Python API for interacting with LinkedIn API.
The LinkedIn-API-JSON-Client library provides an abstract interface for working with the LinkedIn API. My goal is that you should not have to understand oauth or much of the details of the LinkedIn client library (if setup correctly, it should just work).
All functions and classes are documented inline. If you have additional questions, I can be reached on github or at email@example.com.
This package is loosely based on the LinkedIn-Client-Library by Aaron Brenzel. The original library was written for XML support, but LinkedIn now supports JSON responses, which IMHO provides a cleaner interface for use with python. I have tried to preserve the same general architecture and api functions, while adding some new ones, improving error management, and making the API more DRY.
Standard stuff applies to install. Use PIP to install with dependencies:
pip install linkedin-api-json-client
Or install from the command line:
python setup.py install
If you install from the command line, you will need to also install the oauth2, simplejson, and httplib2 packages.
This package is intended for use with the LinkedIn API. You must supply your own API key for this library to work. Once you have an API key from LinkedIn, the syntax for instantiating an API client object is this:
my_key = 'mysecretkey' my_secret = 'mysecretsecret' li_client = LinkedInJsonAPI(my_key, my_secret)
From there, you can obtain request tokens, authorization urls, access tokens, and actual LinkedIn data through the LinkedInJsonAPI object’s methods. The object will handle signing requests, url formatting, and JSON parsing for you.
Currently, the API is dependent on oauth2, httplib2 (for oauth2), and simplejson. All can easily be obtained using Python Package Index, and will be automatically included, if you use PIP to install.
- Search support
- Test coverage where the LinkedIn API is mocked
- Build docs from comments
- Test coverage against the LinkedIn API, will require test users with fairly complete profiles. Haven’t been able to get help from LinkedIn to create test data, so if anyone has any ideas here, let me know.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size linkedin-api-json-client-0.2.6.macosx-10.7-intel.exe (79.9 kB)||File type Windows Installer||Python version any||Upload date||Hashes View hashes|
|Filename, size linkedin-api-json-client-0.2.6.tar.gz (13.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for linkedin-api-json-client-0.2.6.macosx-10.7-intel.exe
Hashes for linkedin-api-json-client-0.2.6.tar.gz