Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
PAWL (an acronym for `Python API Wrapper - LinkedIn`) allows for simple access to LinkedIn's API.
Readme
PAWL (an acronym for Python API Wrapper - LinkedIn
) allows for simple access to LinkedIn's API with only a single dependency.
PAWL is supported on Python 3.9+. The recommended way to install PAWL is with pip.
pip install pawl
Examples are provided in docs/examples.
# Demo in python/ipython shell
# Don't forget to install pawl first
>>> import pawl
>>> linkedin = pawl.Linkedin(
client_id="CLIENT_ID_VALUE",
client_secret="CLIENT_SECRET_VALUE",
redirect_uri="http://localhost:8000",
)
>>> linkedin
<pawl.linkedin.Linkedin at 0x10ea46af0>
# Demo in python/ipython shell
>>> linkedin
<pawl.linkedin.Linkedin at 0x10ea46af0>
>>> response = linkedin.current_user.basic_profile()
>>> response
{
'localizedLastName': 'LAST_NAME',
'profilePicture': {
'displayImage': 'PHOTO_ID'
},
'firstName': {
'localized': {
'LANG_CODE_COUNTRY_CODE': 'FIRST_NAME'
},
'preferredLocale': {
'country': 'COUNTRY_CODE_VALUE',
'language': 'LANGUAGE_CODE'
}
},
'lastName': {
'localized': {
'LANG_CODE_COUNTRY_CODE':
'LAST_NAME'
},
'preferredLocale': {
'country': 'COUNTRY_CODE',
'language': 'LANGUAGE_CODE'
}
},
'id': 'USER_ID',
'localizedFirstName': 'LOCALIZED_FIRST_NAME'
}
The work that went into PAWL is not entirely my own. I learned a lot from open-sourced code written by many incredible developers.
PAWL's source is provided under the MIT License.
FAQs
PAWL (an acronym for `Python API Wrapper - LinkedIn`) allows for simple access to LinkedIn's API.
We found that pawl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.