📜  proxycurl - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:21.754000             🧑  作者: Mango

代码示例1
import requests

api_endpoint = 'https://nubela.co/proxycurl/api/v2/linkedin'
linkedin_profile_url = 'https://www.linkedin.com/in/williamhgates'
api_key = 'YOUR_API_KEY'
header_dic = {'Authorization': 'Bearer ' + api_key}

response = requests.get(api_endpoint,
                      params={'url': linkedin_profile_url},
                      headers=header_dic)