This guide outlines the process of integrating the provided Python code with the LinkedIn API to retrieve and process user profile data. The script then extracts information such as name, about, education, skills, and work experience, and saves it to a JSON file. Then it uses OpenAI GPT-3.5 Turbo engine to generate personalized emails based on LinkedIn profile data. The final output comprises JSON files containing structured LinkedIn profile data and text files containing personalized emails.
Note: You need to have the following before executing the code
- OpenAI API
- LinkedIn email and password
- Creater a folder called 'Zenskar' on Desktop and clone the repository
- Make 2 folders called 'profile_data' and 'emails' respectively
- Enter your linkedin email and password where "EMAIL" and "PASSWORD" in mentioned
- Enter your OPENAI API key
- Execute the following commands before running the application in the following order
pip install linkedin_api
pip install openai
To use the application, execute the following commands in the termial
python3 json_format.py
- Enter the username
python3 profile_emails.py
Here are some of the personalised emails