Skip to main content

A library for enriching data with LinkedIn and Google Search API and Proxy Curl

Project description

LinkedFrame

LinkedFrame is a Python library designed to enrich data using LinkedIn, Google Search API, and Proxy Curl. It provides tools to fetch and process LinkedIn data, making it easier to integrate and analyze professional information.

Features

  • Google Search Integration: Search for LinkedIn profiles using email addresses.
  • Proxy Curl Integration: Fetch detailed LinkedIn profile data.
  • Data Enrichment: Enhance LinkedIn data with additional information such as educational level, work field, and profile language using OpenAI.

Installation

To install LinkedFrame, use pip:

pip install linkedframe

Usage

To get started with LinkedFrame, follow these steps:

Step 1: Import the necessary modules

from linkedframe.enrichment import LinkedInDataEnrichmentProcessor

Step 2: Initialize the LinkedInDataEnrichmentProcessor with your API keys

df_processor = LinkedInDataEnrichmentProcessor(
    cse_id="your_cse_id",
    google_console_api_key="your_google_console_api_key",
    openai_key="your_openai_key",
    proxycurl_api_key="your_proxycurl_api_key"
)

Step 3: Prepare your DataFrame with email addresses

df = pd.DataFrame({'email': ['example@example.com']})

Step 4: Process the emails to enrich the DataFrame with LinkedIn data

processed_df = df_processor.process_emails(df, email_col='email')

Step 5: Analyze and use the enriched data as needed

print(processed_df)

Step 6: Check the ProxyCurl API limit

df_processor.get_limits()

This is a basic example to demonstrate how to use LinkedFrame for data enrichment.

To use LinkedFrame, you will need the following API keys:

  • Google Custom Search Engine (CSE) ID
  • Google Console API Key
  • OpenAI API Key
  • ProxyCurl API Key

These API keys are required to initialize the LinkedInDataEnrichmentProcessor and utilize the library's features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linkedframe-1.0.4-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file linkedframe-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: linkedframe-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for linkedframe-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 20e5810438704910815935c0829b93fdbc7224de0d3427a587458b4b7140f6ed
MD5 d8fae15bad95051a64b60a6bb4163d38
BLAKE2b-256 870d61b04a62a2cead74671f57bee645380f6bbe9f59166777b48b61ef3af80c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page