Extract your linkedin profile and allow you to use those informations in Pelican's pages
Project description
Extract a LinkedIn profile and allow the use of his informations in Pelican’s pages
Installation
To install pelican-linkedin, simply install it from PyPI:
$ pip install pelican-linkedin-profile
Configuration
Enable the plugin in your pelicanconf.py
PLUGINS = [
# ...
'pelican-linkedin-profile',
# ...
]
Add mandatory settings containing your LinkedIn Api Keys.
LINKEDIN_USER_TOKEN = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
LINKEDIN_USER_SECRET = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
LINKEDIN_CONSUMER_KEY = 'XXXXXXXXXXXXXX'
LINKEDIN_CONSUMER_SECRET = 'XXXXXXXXXXXXXXXX'
LINKEDIN_RETURN_URL = 'http://example.com/'
Available data
- formattedName:
The member’s name, formatted based on language.
- headline:
The member’s headline.
- summary:
A long-form text area describing the member’s professional profile.
- pictureUrl:
A URL to the member’s formatted profile picture, if one has been provided.
- emailAddress:
The LinkedIn member’s primary email address.
- primaryTwitterAccount:
The primary Twitter account associated with the member.
- publicProfileUrl:
The URL to the member’s public profile on LinkedIn.
- phoneNumbers:
A list of phone number objects containing those fields : phoneNumber, phoneType (home, work or mobile.)
- skills:
A list of skill’s name
- languages:
A list of language’s name
- educations:
A list of eduction objects containing those fields : startDate, endDate, degree, schoolName, fieldOfStudy
- positions:
A list of position objects containing those fields : startDate, endDate, title, company, summary, isCurrent. A company object contains those fields : industry, size, type, name
Usage
In your templates you will have access to a linkedin_profile variable as below.
<div>
<h2>{{ linkedin_profile.formattedName }}</h2>
<p>{{ linkedin_profile.headline }}</p>
</div>
License
GPLv2 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pelican-linkedin-profile-0.1.1.tar.gz
.
File metadata
- Download URL: pelican-linkedin-profile-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869506b0e6f7317b9026825aa5a169af5de7c3260798e7a3781bb8ec575b3373 |
|
MD5 | 961155afeb3a6c33279d18874a716dd4 |
|
BLAKE2b-256 | 12c1087acc80135077df676a55683baf3251aa59bc9e100ce88658e99b27476f |
File details
Details for the file pelican_linkedin_profile-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pelican_linkedin_profile-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97bc2cd7e26d6b94f2c52879cfbad7cd333bab9aef74ee6323c09df4d194ae60 |
|
MD5 | e513724f45d6449b0f6a1590596283d0 |
|
BLAKE2b-256 | 2a641952c22b9d291c72204c5e31d3c60b59c306957e1802355f58bf9b7e4a25 |