Launchpad API

Asked by Timmie

Hello,
I am looking into preparartion of python scripts which could help me to
retrieve information at LP.
Specifically I would like to:

* create a list with all packages in a certain PPA long with their
version number

* create a list of all repositories in a certain project.

Is there such functionality in Launchpad?

Where can I look for explanations on such API scripts?

Thanks in advance,
Timmie

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steve Kowalik (stevenk) said :
#1

You can find the api documentation at https://launchpad.net/+apidoc .

Creating a list of all packages in a given PPA will involving getting the user in question and then their PPA and then you can query for the published packages from the archive.

Projects do not contain repositories -- do you mean branches? If so, looking up the project and then calling the getBranches() method on it would work.

Can you help with this problem?

Provide an answer of your own, or ask Timmie for more information if necessary.

To post a message you must log in.