Edit to suit your desired PPA name, release, etc. It'll give a count for total downloads of all currently published packages for amd64 lucid (counts are per-release, per-version and per-arch).
Julian, do you have an example of a PPA with valid data which we can poke, pending a full run of the log scanner?
I don't have any data for my PPA yet, so I can't be sure this is correct, but it SEEMS to do what it should, minus any numbers yet:
from launchpadlib. launchpad import Launchpad jms/.launchpadl ib/cache/ " login_with( 'badger' , 'production') me.getPPAByName (name=' ppa') dist_and_ arch = "https:/ /api.launchpad. net/1.0/ ubuntu/ lucid/amd64" getPublishedBin aries(status= 'Published' ,distro_ arch_series= desired_ dist_and_ arch): r.binary_ package_ name + "\t" + individualbadge r.binary_ package_ version + "\t" + str(individualb adger.getDownlo adCount( ))
cachedir = "/home/
launchpad = Launchpad.
badgerppa = launchpad.
desired_
for individualbadger in badgerppa.
print individualbadge
Edit to suit your desired PPA name, release, etc. It'll give a count for total downloads of all currently published packages for amd64 lucid (counts are per-release, per-version and per-arch).
Julian, do you have an example of a PPA with valid data which we can poke, pending a full run of the log scanner?