{ "info": { "author": "Larry Mota--Lavigne", "author_email": "larry.motalavigne@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Django LinkedIn Middleware\n\n[![PyPI](https://img.shields.io/badge/pypi-v0.1.1-blue.svg)](https://pypi.org/project/django-linkedin-middleware/)\n[![Build Status](https://travis-ci.com/Squalex/LinkedinMiddleware.svg?branch=master)](https://travis-ci.com/Squalex/LinkedinMiddleware)\n\nConnect to the LinkedIn API.\n\n## Installation\n\n```bash\n$ pip install django-linkedin-middleware\n```\n\nJust add `django-linkedin-middleware.middleware.LinkedinMiddleware` to your `MIDDLEWARE`.\n\n## Usage\n\nIn the request session will be found 3 differents label : \n* `linkedin_firstName` for the user first name\n* `linkedin_lastName` for the user last name\n* `linkedin_headline` for the user headline\n\nIn your HTML, you can directly add these label to display the data.\n\n## Settings\n\n\n### Linkedin Configuration\n\nYou need to create an application on the linkedin developer pages to \n[https://www.linkedin.com/developer/apps](https://www.linkedin.com/developer/apps) to receive your credentials \n\n`LINKEDIN_APPLICATION_KEY` : the Client ID\n\n`LINKEDIN_APPLICATION_SECRET` : the Client Secret\n\n`LINKEDIN_APPLICATION_RETURN_CALLBACK` : the callback url (you should add the same url in the linkedin developer page)\n\n`LINKEDIN_APPLICATION_PROFILE` : a table of different application permissions. Here's a list of the permissions : \n`['r_basicprofile', 'r_emailaddress', 'rw_company_admin', 'w_share']`. You could also add the permission \n\n### Application Configuration\n\n`PAGES_WITH_LINKEDIN_AUTH_REQUIRED` : the list of all pages on which you should force an authentication. By default, it will be all the pages (example : `['*']`)\n\n`PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED` : the list of all pages on which the authentication is disable.\n\n\n## Thanks\n\nI only made a middleware for simply connect to linkedin and display information in the session.\nI based my work on the [python-linkedin](https://github.com/ozgur/python-linkedin) project. \n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Squalex/LinkedinMiddleware", "keywords": "", "license": "Apache License", "maintainer": "", "maintainer_email": "", "name": "django-linkedin-middleware", "package_url": "https://pypi.org/project/django-linkedin-middleware/", "platform": "", "project_url": "https://pypi.org/project/django-linkedin-middleware/", "project_urls": { "Homepage": "https://github.com/Squalex/LinkedinMiddleware" }, "release_url": "https://pypi.org/project/django-linkedin-middleware/0.1.2/", "requires_dist": [ "django", "linkedin", "mock", "python3-linkedin" ], "requires_python": "", "summary": "Django Middleware for LinkedIn API", "version": "0.1.2" }, "last_serial": 4569545, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "0701d2188c717cb9bf0cbc7f1af6a5f1", "sha256": "a5530b2f67d9e052c51cd2aee96fff7f871a51e6907b1f41a9114bc430598aeb" }, "downloads": -1, "filename": "django_linkedin_middleware-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0701d2188c717cb9bf0cbc7f1af6a5f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5408, "upload_time": "2018-09-26T23:40:48", "url": "https://files.pythonhosted.org/packages/b2/f1/1544135d31fd6c2278871cdc5f75fbe2598ee6773471ab4e92e63d7cb88f/django_linkedin_middleware-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1562cfbb4dbdd8fbb96bfa0c8f39531", "sha256": "bb49d9ea77dad6cccdfb64106dfc17125ec0f5dfe34f7479fe5815ff9f8de4e2" }, "downloads": -1, "filename": "django_linkedin_middleware-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a1562cfbb4dbdd8fbb96bfa0c8f39531", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7855, "upload_time": "2018-09-26T23:40:49", "url": "https://files.pythonhosted.org/packages/76/8b/39d0d3521a8f4f57d5a032039ad6e33b1d7610596492665038cc851a40e9/django_linkedin_middleware-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "fbb67e5698893b6cc97341c892422e0f", "sha256": "77989d228fc83880b86021323054718acb36677bf4de7ef9e1d2774b44a7120b" }, "downloads": -1, "filename": "django_linkedin_middleware-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "fbb67e5698893b6cc97341c892422e0f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9718, "upload_time": "2018-12-06T22:07:14", "url": "https://files.pythonhosted.org/packages/8f/3b/5a0f902b0d400d3ce9f89f1206e0af6cdef78ce4650188f8d3331e2d40d2/django_linkedin_middleware-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c48125027d31ac412144e7eda4d9af17", "sha256": "ce87f7d4132eb9ff11dd450b723d55482e3de71cfd28c70e0d083ae4b2136c63" }, "downloads": -1, "filename": "django_linkedin_middleware-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c48125027d31ac412144e7eda4d9af17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7952, "upload_time": "2018-12-06T22:07:15", "url": "https://files.pythonhosted.org/packages/fd/fe/39c177383aeafb88e6f34efa38e76a3c6d489da3b1f2caf5b57acedd58aa/django_linkedin_middleware-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fbb67e5698893b6cc97341c892422e0f", "sha256": "77989d228fc83880b86021323054718acb36677bf4de7ef9e1d2774b44a7120b" }, "downloads": -1, "filename": "django_linkedin_middleware-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "fbb67e5698893b6cc97341c892422e0f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9718, "upload_time": "2018-12-06T22:07:14", "url": "https://files.pythonhosted.org/packages/8f/3b/5a0f902b0d400d3ce9f89f1206e0af6cdef78ce4650188f8d3331e2d40d2/django_linkedin_middleware-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c48125027d31ac412144e7eda4d9af17", "sha256": "ce87f7d4132eb9ff11dd450b723d55482e3de71cfd28c70e0d083ae4b2136c63" }, "downloads": -1, "filename": "django_linkedin_middleware-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c48125027d31ac412144e7eda4d9af17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7952, "upload_time": "2018-12-06T22:07:15", "url": "https://files.pythonhosted.org/packages/fd/fe/39c177383aeafb88e6f34efa38e76a3c6d489da3b1f2caf5b57acedd58aa/django_linkedin_middleware-0.1.2.tar.gz" } ] }