--- id: linkedin-api-client version: "0.3.0" license: Proprietary license_treatment: unclear maintenance: dormant --- # linkedin-api-client — Official Python client library for LinkedIn APIs License: unclear · Maintenance: dormant · Downloads: 2.2M/mo ## What it is and what it does This is the official Python client library for LinkedIn APIs, built on top of the requests HTTP library. It abstracts away the complexity of LinkedIn's Rest.li protocol by handling request formatting, proper headers, parameter encoding, and OAuth2 token management (both 2-legged and 3-legged flows). The library provides methods for standard REST operations (get, batch_get, finder, create, update, delete, etc.) and utilities for token generation and inspection. The package is currently in beta and dormant—the last release was 2023-06-29 and the last commit 2024-04-21. It supports Python 3.7 through 3.11 and has no known security vulnerabilities. The library handles URL encoding of complex query parameters and supports versioned API calls. Use it for: - Fetch LinkedIn member profiles using 3-legged OAuth tokens with the r_liteprofile scope. - Search and manage LinkedIn ad accounts via the Advertising APIs with complex query criteria. - Implement Sign In With LinkedIn authentication flows by exchanging authorization codes for access tokens. - Build batch operations to create, update, or delete multiple LinkedIn resources in a single call. - Integrate LinkedIn data into Python applications without manually constructing Rest.li protocol requests. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a Python client for LinkedIn's Rest.li APIs, handling request formatting, OAuth2 authentication, and response parsing to simplify integration with LinkedIn's API endpoints. Yes, if you are building a LinkedIn integration and need official API support. The low install friction and single dependency make it easy to add. However, the beta status, dormant maintenance (no updates since 2024-04-21), and proprietary license with unclear terms warrant caution in production. Verify that the current API surface matches your use case and review the license before deploying commercially. ## Install pip install linkedin-api-client uv add linkedin-api-client poetry add linkedin-api-client ## Installing linkedin-api-client Before you install: Low install friction with a single dependency (requests). Maintenance is dormant—last release was 2023-06-29 and last commit 2024-04-21—but the repository remains active and the package supports current Python versions (3.7–3.11). License in practice: Licensed as Proprietary with unclear treatment. No SPDX identifier is available, so the exact terms and redistribution rights are not standardized; review the repository directly before use in commercial or open-source contexts. Quickstart: pip install linkedin-api-client from linkedin_api_client import RestliClient restli_client = RestliClient() response = restli_client.get( resource_path="/me", access_token="YOUR_3_LEGGED_ACCESS_TOKEN" ) print(response.entity) Requires a valid 3-legged or 2-legged OAuth2 access token from the LinkedIn Developer Portal; the library does not handle token provisioning from scratch. Verify before relying: - Whether the beta status and lack of recent updates affect API compatibility with current LinkedIn endpoints. - What specific proprietary license terms apply and whether they restrict commercial use or redistribution. ## Package facts - License: Proprietary (unclear) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 2.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags linkedin api client, rest.li python client, linkedin oauth authentication, linkedin api wrapper, linkedin rest api python, linkedin developer integration, oauth2, rest-api, linkedin [View on SkillFed](https://skillfed.io/packages/linkedin-api-client) · [View on PyPI](https://pypi.org/project/linkedin-api-client/)