This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pelican_linkedin_profile-0.1.1-py2.py3-none-any.whl (6.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jul 10, 2015
pelican-linkedin-profile-0.1.1.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Jul 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting