How to login launchpadlib to access people's email address

Asked by Yash Raj Shrestha

We are in a process of collecting data about blueprints on Openstack project using launchpadlib devel version for our research. We could access the assignee and drafter's name though the api, however when we try to access their email, following error is received (ValueError: You tried to access a resource that you don't have the server-side permission to see). Till now, we have udrf login_anoymously. Could you please tell us, how to login to get the access to emails ?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Colin Watson
Solved:
Last query:
Last reply:
Revision history for this message
Best Colin Watson (cjwatson) said :
#1

Replace "login_anonymously" with "login_with" in your code. On the first run you'll need to use an authenticated browser session to authorise your script.

Revision history for this message
Yash Raj Shrestha (yashrajstha) said :
#2

Thanks a lot. That solved.

Revision history for this message
Yash Raj Shrestha (yashrajstha) said :
#3

Thanks Colin Watson, that solved my question.