Launchpad API for PPAs
I've received few complains about how hard it is to extract information from the Launchpad API documentation for managing PPAs.
I will start a series of post with useful actions for PPA users and owner.
Start by reading the Launchpad API help page and familirize yourself with it. For experiments, I usually use a setup script and jump into a interactive python section.
$ python -i lpapi_setup.py>>> launchpad<launchpadlib.launchpad.Launchpad object at 0x13eb0d0>
Now, we can find out what's my PPA signing-key fingerprint:
>>> ppa = launchpad.people['cprov'].archive>>> print ppa.displaynamePPA for Celso Providelo>>> print ppa.signing_key_fingerprintDCAC43EE807ADF67495AD95809C5BECB0DC0F66Cto be continued ...