Comment 2 for bug 583979

Revision history for this message
Adi Roiban (adiroiban) wrote :

Soon, for each series in the API we will have „all_translation_templates” attribute (https://launchpad.dev/api/devel/ubuntu/hoary/all_potemplates) which expose similar data as https://translations.edge.launchpad.net/ubuntu/lucid/+templates.

I was thinking to add in the API 2 new methods for a series:

1. „getTranslationsStatistic” which will expose data similar to https://translations.edge.launchpad.net/ubuntu/lucid/ . It will be accessible as https://launchpad.dev/api/devel/ubuntu/hoary?wp.op=getTranslationsStatistic

2. „getTranslationsLanguageStatistics(LANG)” which will expose data similar to https://translations.edge.launchpad.net/ubuntu/lucid/+lang/ro . It will be accessible as https://launchpad.dev/api/devel/ubuntu/hoary?wp.op=getTranslationsLanguageStatistics&language=ro

Do you think of exporting those data in a different way?

Cheers