[00:20] banix: You can never seen email addresses anonymously, and even when logged in you can only see them if the user has allowed it. [00:22] wgrant: thanks for answering. Makes sense. Then I should use login_with instead of login_anonymously? [00:23] wgrant: When I do that, can I authenticate programatically? If I use the login_with I am taken into the interactive interface that is what I don’t want [00:25] banix: It depends where you're going to run it. [00:25] banix: In a desktop environment, the token is stored in the DE's keyring so you only have to log in once. [00:26] If you're running it remotely without a DE it will use a standalone file. [00:26] When using it over SSH I normally kill the CLI browser that it spawns and open the URL it printed in my desktop browser. [00:26] And authorise it there, rather than logging in in w3m. [00:27] Once you've authorised a system, further login_withs from there will be non-interactive. [00:27] wgrant: I see; and that first time is done using the gui. [00:27] i mean the web interface [00:28] is there an API where I can provide my user id and password, and get a token or somethinga long that line? [00:30] banix: No, but you can open the URL it prints in any browser -- it doesn't need to be on the same system. [00:30] It misguidedly opens a browser by default, as if it were on a desktop, but you can just close that. [00:32] wgrant: thanks for being paitient with me. What URL you are referring to and when I open it, what do I get in return and how can I use that in my python script. [00:35] reading the above I think I understand what you are saying. I run my script on an Ubuntu box and it opens a wget screen I believe; so let’s say I authorize there, I can keep the login_with in my script and further runs will go through? [00:39] banix: Right, it only prompts the first time. [00:40] banix: For subsequent runs it uses the stored token. [00:40] wgrant: thank you for your help. I’ll try what you suggested. [01:29] banix: you should not rely on the e-mail address of users being visible, or even correct, to verify if they are in a certain organization or not. you should use teams to manage groups of users. [02:03] dobey: yes that makes sense. We have a group but it turned out some of the members have not added themselves to the group; So I played with using email and of course some users don’t have their email address available. With the helps I got on this channel, I know a bit to write a couple of scripts. [02:04] dobey: I have been looking for a place where the API for launchpadlib is documented in its entirety. If there is such a place and if you have a pointer handy please share. Thanks again. [03:08] banix: https://api.launchpad.net/+apidoc/devel.html documents the LP API, https://help.launchpad.net/API/launchpadlib documents launchpadlib. [03:08] banix: launchpadlib reads the machine-parsable API definition provided by launchpad.net and exposes it as Python objects. [03:12] wgrant: Thank you! === maclin1 is now known as maclin === work_alkisg is now known as alkisg === pietroalbini_ is now known as pietroalbini === alkisg is now known as work_alkisg