Extract your linkedin profile and allow you to use those informations in Pelican's pages
Project description
==============
Pelican LinkedIn
==============
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:
.. code-block:: bash
$ pip install pelican-linkedin-profile
Configuration
=============
Enable the plugin in your pelicanconf.py
.. code-block:: python
PLUGINS = [
# ...
'pelican-linkedin-profile',
# ...
]
Add mandatory settings containing your LinkedIn Api Keys.
.. code-block:: python
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.
.. code-block:: html
<div>
<h2>{{ linkedin_profile.formattedName }}</h2>
<p>{{ linkedin_profile.headline }}</p>
</div>
License
=======
`GPLv2`_ license.
.. _GPLv2: http://opensource.org/licenses/GPL-2.0
Pelican LinkedIn
==============
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:
.. code-block:: bash
$ pip install pelican-linkedin-profile
Configuration
=============
Enable the plugin in your pelicanconf.py
.. code-block:: python
PLUGINS = [
# ...
'pelican-linkedin-profile',
# ...
]
Add mandatory settings containing your LinkedIn Api Keys.
.. code-block:: python
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.
.. code-block:: html
<div>
<h2>{{ linkedin_profile.formattedName }}</h2>
<p>{{ linkedin_profile.headline }}</p>
</div>
License
=======
`GPLv2`_ license.
.. _GPLv2: http://opensource.org/licenses/GPL-2.0
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
Close
Hashes for pelican-linkedin-profile-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c5217b6f4ebecf6bb169ee19d1bed19896ad3d53776f5b4e257d575f6c9f51f |
|
MD5 | ad67abfba811c1194c814b7ab380165b |
|
BLAKE2b-256 | 3310e5582f17bc708740ce65027e773aea9108ce109ffeadbf0332c3b86dcc26 |
Close
Hashes for pelican_linkedin_profile-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e920c702caf293e2d5c88d600805536dee89e51d837ebc4a9f564c12126974 |
|
MD5 | 9107e1b745d2dbac99dedb1cfdef0ae5 |
|
BLAKE2b-256 | 8ae2a1f2ed185a787af19d12d4ece2930f3052ca0f522fece31ca078666b4f9c |