Giter Site home page Giter Site logo

d333q / pylinkedinapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnidm/pylinkedinapi

0.0 1.0 0.0 50 KB

Simple and easy library to integrate with Linkedin API

License: BSD 3-Clause "New" or "Revised" License

Makefile 11.03% Python 88.97%

pylinkedinapi's Introduction

Python Linkedin API

Travis CI PyPI PyPI Coverage Status

The Python Linkedin provides a easy interface to the Linkedin API.

We are in development, if you want to help, please see CONTRIBUTING

Installation

You can to install through pip.

pip install PyLinkedinAPI

Generate Access Token

If you don't have a access token I recommend to use the requests-oauthlib

Examples

See examples here

You need to generate temporary access token for basic tests:

Run python examples/basic.py and insert the access token

Created an instance

from PyLinkedinAPI.PyLinkedinAPI import PyLinkedinAPI

access_token = 'AQVaE34Qblm6uIhh3wVLXuhQPSI...'

linkedin = PyLinkedinAPI(access_token)

Features


Get data profile

profile = linkedin.get_basic_profile()

print(profile)

Get data companies

companies = linkedin.get_companies()

print(companies)

Publish comment on profile

linkedin.publish_profile_comment('This is my first package in Python')

Publish comment on company

linkedin.publish_company_comment(5470551, 'This is my first package in Python')

Publush Content/Comment on profile

linkedin.publish_profile(comment,
                         title=title, description=description,
                         submitted_url='http://www.johnidouglas.com.br/',
                         submitted_image_url='http://www.johnidouglas.com.br/logo.jpeg')

Publush Content/Comment on company

linkedin.publish_company(5470551,
                         comment,
                         title=title, description=description,
                         submitted_url='http://www.johnidouglas.com.br/',
                         submitted_image_url='http://www.johnidouglas.com.br/logo.jpeg)

Utils


pylinkedinapi's People

Contributors

johnidm avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.