简体   繁体   English

如何从Python 3 LinkedIn API获取电子邮件地址?

[英]How do I get the email address from Python 3 LinkedIn API?

I am using this python3 Linkedin API: 我正在使用此python3 Linkedin API:

https://github.com/DEKHTIARJonathan/python3-linkedin#production-authentication https://github.com/DEKHTIARJonathan/python3-linkedin#production-authentication

I have 4 permissions on my profile: r_basicprofile r_emailaddress rw_company_admin rw_share 我的个人资料具有4个权限:r_basicprofile r_emailaddress rw_company_admin rw_share

Even though this API seems to have nearly everything, I can't figure out how to get a member's email address. 尽管该API似乎包含了几乎所有内容,但我仍无法弄清楚如何获取会员的电子邮件地址。

For example when I query my own profile, (through the .get_profile() function), I don't get my email address. 例如,当我查询自己的个人资料时(通过.get_profile()函数),我没有得到我的电子邮件地址。 I looked through the API code and there doesn't seem to be a way to get a profile's email address. 我查看了API代码,似乎没有办法获取个人资料的电子邮件地址。

For people who've used this API, how do you get a profile's email address? 对于使用过此API的人,您如何获取个人资料的电子邮件地址? Because I can't produce even my own profile's email address 因为我连自己个人资料的电子邮件地址都无法显示

GET http://api.linkedin.com/v1/people/~:(email-address)

此api调用会向您发送用户电子邮件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM