Metadata-Version: 2.1
Name: linkedin-cli
Version: 0.1.2
Summary: linkedin-cli - Linkedin Command Line Interface
Home-page: https://linkedin-cli.tigillo.com
Author: tigillo
Author-email: linkedin-cli@tigillo.com
License: UNKNOWN
Download-URL: https://github.com/tigillo/linkedin-cli/archive/0.1.2.tar.gz
Description: ### linkedin-cli
        Linkedin command line interface (cli) is a python 3 console application to handle authentication and communication with LinkedIn API v2.
        
        Linkedin-cli requires a linkedin application client id and client secret to authenticate a user on the linkedin api v2. [Create a linkedin application](https://www.linkedin.com/developers/apps/new) on linkedin developer site if you don't have already.
        
        Follow [tigillo](https://www.linkedin.com/company/tigillo) on linkedin for the latest updates.
        
        ### Requirements
        python 3
        
        ### Installation
        ```bash
        python3 -m pip install linkedin-cli
        ```
        
        ### Running
        ```bash
        python3 -m linkedin
        ```
        
        ### Usage
        ```bash
        usage: linkedin <command> [<args?]
        
        These are common linkedin commands used in various situations:
        
            config       Get and set linkedin-cli options
            login        Login with a user for api access
            me           Display logged in user details
            post         Share a post
        
        Other commands
        
            help         Print help (this message)
            version      Print the version information
        ```
        
        ### Configure Linkedin Application
        Run below command and provide your client id and secret of your linkedin application. Configuration will be saved to `~/.linkedin/config.json` file.
        
        ```bash
        linkedin configure set application
        ```
        
        #### Linkedin Application Configuration
        Go to `auth` page of your linkedin application and add `http://localhost:4625` address as the `Authorized redirect URLs for your app` on the *OAuth 2.0 settings* section.
        
        ![Linkedin Application Configuration](https://linkedin-cli.tigillo.com/img/linkedin-app-config.jpg)
        
        ### Login
        Run below command and authenticate your linkedin application for your user on the opened web dialog. Once approved your api token will be stored to `~/.linkedin/config.json` file.
        
        ```bash
        linkedin login
        ```
        
        ### Share a Post
        Put content between double quotes, new lines supported. Only text content supported currently.
        
        ```bash
        linkedin post "Hello connections!
        
        Sent from my terminal via linkedin-cli"
        ```
        
        #### Post Visibility
        Default visibility option for post command is `connections`. Visibility option can be set as `connections` or `public`.
        
        ```bash
        linkedin post -v public "Hello world!
        
        Sent from my terminal via linkedin-cli"
        ```
        
        ### Build
        ```bash
        python3 setup.py build
        ```
Keywords: linkedin,linkedin-cli,linkedin automation
Platform: UNKNOWN
Description-Content-Type: text/markdown
