Transcription of Python Linkedin API Documentation - Read the Docs
1 Python Linkedin API DocumentationRelease Douglas MarangonJanuary 07, 2016 Contents1 PRIMARY AUTHORS are: .. CONTRIBUTORS: ..32 of Contributions .. Started! .. Request Guidelines ..63 Examples74 data profile .. data companies .. comment on profile .. comment on company .. Content/Comment on profile .. Content/Comment on company ..95 Getting .. an instance ..116 Indices and tables13iiiPython Linkedin API Documentation , Release Python Linkedin provides a easy interface to the Linkedin :Contents1 Python Linkedin API Documentation , Release The PRIMARY AUTHORS are: Johni Douglas APPRECIATED CONTRIBUTORS: None yet. Why not be the first?3 Python Linkedin API Documentation , Release 1.
2 AuthorsCHAPTER2 ContributingContributions are welcome, you can contribute in many Types of Report Bugs, Fix Bugs and Implement FeaturesLook through the GitHub issues, , for bugs and Write DocumentationPython Linkedin API could always use more Documentation , whether as part of the official Python Linkedin API docs,in docstrings, or even on the web in blog posts, articles, and Get Started!Ready to contribute? Here s how to set upPyLinkedinAPIfor local Fork thePyLinkedinAPIrepo on Clone your fork locally:$ git clone Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set upyour fork for local development:$ pyenv virtualenv venv-PyLinkedinAPI$ pyenv activate venv-PyLinkedinAPI$ cd PyLinkedinAPI/$ Python develop4.
3 Create a branch for local development:$ git checkout -b name-of-your-bugfix-or-featureNow you can make your changes Linkedin API Documentation , Release When you re done making changes, check that your changes pass flake8 and the tests, including testing otherPython versions with tox:$ flake8 PyLinkedinAPI tests$ Python test$ toxTo getflake8andtox, just pip install them into your Commit your changes and push your branch to GitHub:$ git add .$ git commit -m "Your detailed description of your changes."$ git push origin name-of-your-bugfix-or-feature7. Submit a pull request through the GitHub Pull Request GuidelinesBefore you submit a pull request, check that it meets these guidelines:1.
4 The pull request should include If the pull request adds functionality, the docs should be updated. Put your new functionality into a functionwith a docstring, and add the feature to the list in The pull request should work for Python , , , and , and for and make sure that the tests pass for all supported Python TipsTo run a subset of tests:$ pip install sure$ pip install httpretty== $ Python -m unittest 2. ContributingCHAPTER3 ExamplesSee examples hereYou need to generate temporary access token for basic tests: Acces the On then Authentication menu select OAuth2 After you need to login and authorization to access some information from your Linkedin profile Send anywhere request URL, for example ~?
5 Format=json, and copy field ac-cess tokenRunpython insert the access token7 Python Linkedin API Documentation , Release 3. Get data profileprofile = () print(profile) Get data companiescompanies = () print(companies) Publish comment on ( This is my first package inPython ) Publish comment on (5470551, This is my first packagein Python ) Publush Content/Comment on (comment,title=title,description=descrip tion,submit-ted_url= , submitted_image_url= ) Publush Content/Comment on (5470551,comment,title=title,descrip-tio n=description,submitted_url= ,submit-ted_image_url= )9 Python Linkedin API Documentation , Release 4. FeaturesCHAPTER5 Getting InstallationYou can to install through pip.
6 $ pip install Created an instancefrom import PyLinkedinAPI access_token = Linkedin = PyLinkedinAPI(access_token)11 Python Linkedin API Documentation , Release 5. Getting StartedCHAPTER6 Indices and tables genindex modindex search13