PAWL: Python API Wrapper for LinkedIn
PAWL (an acronym for Python API Wrapper - LinkedIn) allows for simple access to LinkedIn's API with only a single dependency.
Installation
PAWL is supported on Python 3.9+. The recommended way to install PAWL is with pip.
pip install pawl
Examples
Examples are provided in docs/examples.
Quickstart
# 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>
GET PROFILE:
# 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'
}
Sources
The work that went into PAWL is not entirely my own. I learned a lot from open-sourced code written by many incredible developers.
License
PAWL's source is provided under the MIT License.
- Copyright © 2021 Kyle J. Burda
Metadata
Release files for pawl 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pawl-0.1.1.tar.gz | 17.5 kB | Without provenance | Details for pawl-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pawl-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pawl-0.1.1-py3-none-any.whl |
Total release size: 40.2 kB
Release files / pawl-0.1.1.tar.gz
| Download URL | pawl-0.1.1.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
855354aaa2923130bf3ba8f780898c7eea8812677f545a59872ef607831df22c
|
|
BLAKE2b-256 checksum How to use checksums |
0c666acc4a66b8000fa8187843495094035bc7c69f9bb0d5d6917f1ce47896dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.6 Darwin/20.5.0
|
Release files / pawl-0.1.1-py3-none-any.whl
| Download URL | pawl-0.1.1-py3-none-any.whl |
|---|---|
| Size | 22.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d64c7ebb05f668ab1acf626b911f7eefe17277987378c1be730e8e520e9d76c
|
|
BLAKE2b-256 checksum How to use checksums |
59ac9dd0cb467a9cd22aca11b138c4d11f705c6b9e6bfa656282b10ba8beeee6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.6 Darwin/20.5.0
|
Security for pawl 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.