Linkedin x GPT prompt avatar

Linkedin x GPT prompt

Try for free

3 days trial then $29.00/month - No credit card required now

View all Actors
Linkedin x GPT prompt

Linkedin x GPT prompt

anchor/linkedin-gpt-prompt
Try for free

3 days trial then $29.00/month - No credit card required now

Extract LinkedIn profiles, and uses ChatGPT magic automatically on each profile ! Your prompt, the answer you need, the way you want.

You can access the Linkedin x GPT prompt programmatically from your own Python applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9    "startUrls": [{ "url": "https://www.linkedin.com/in/elon-musk-elonmusk-6648688b" }],
10    "gpt_api_key": "your_api_key",
11    "instructions": "Is this person a good candidate for the following job description : Sales Manager of a car company? Why?  Also, Add a rating from 0 to 10 to summarize.",
12    "cookies": [{
13            "domain": ".linkedin.com",
14            "expirationDate": 1721120692,
15            "hostOnly": False,
16            "httpOnly": False,
17            "name": "xxxx_14215E3D5995C57C0A495C55%xxxx",
18            "path": "/",
19            "sameSite": "unspecified",
20            "secure": False,
21            "session": False,
22            "storeId": "0",
23            "value": "-637568504%7CMCIDTS%7C19xxxxxxxxxxxxx",
24            "id": 1,
25        }],
26}
27
28# Run the Actor and wait for it to finish
29run = client.actor("anchor/linkedin-gpt-prompt").call(run_input=run_input)
30
31# Fetch and print Actor results from the run's dataset (if there are any)
32print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
33for item in client.dataset(run["defaultDatasetId"]).iterate_items():
34    print(item)
35
36# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

Linkedin x GPT prompt API in Python

The Apify API client for Python is the official library that allows you to use Linkedin x GPT prompt API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include:

Developer
Maintained by Community
Actor metrics
  • 15 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • Created in Mar 2024
  • Modified 5 months ago