PAWL (an acronym for `Python API Wrapper - LinkedIn`) allows for simple access to LinkedIn's API.
Project description
PAWL: Python API Wrapper for LinkedIn
OAuth flow will be added in the next revision.
Installation
PAWL is supported on Python 3.9+. The recommended way to install PAWL is with pip.
pip install pawl
Quickstart
You can instantiate an instance like so:
import pawl
>>> linkedin = pawl.Linkedin(
access_token="ACCESS_TOKEN_VALUE",
)
>>> linkedin
<pawl.linkedin.Linkedin at 0x10ea46af0>
get_basic_profile()
>>> response = linkedin.me.get_basic_profile()
>>> response
{
'localizedLastName': 'LAST_NAME',
'profilePicture': {
'displayImage': 'urn:li:digitalmediaAsset:PHOTO_ID_VALUE'
},
'firstName': {
'localized': {
'language_code_value_and_country_code_value': 'FIRST_NAME_VALUE'
},
'preferredLocale': {
'country': 'country_code_value', 'language': 'language_code_value'
}
},
'lastName': {
'localized': {
'language_code_value_and_country_code_value':
'LAST_NAME_VALUE'
},
'preferredLocale': {
'country': 'country_code_value',
'language': 'language_value'
}
},
'id': 'USER_ID_VALUE',
'localizedFirstName': 'localized_first_name_value'
}
License
PAWL's source is provided under the MIT License.
- Copyright © 2021 Kyle J. Burda
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pawl-0.0.1.tar.gz
(7.1 kB
view hashes)
Built Distribution
pawl-0.0.1-py3-none-any.whl
(9.8 kB
view hashes)