Author: sebb
Date: Sun Jun 22 15:38:10 2025
New Revision: 1926644

URL: http://svn.apache.org/viewvc?rev=1926644&view=rev
Log:
Only need timestamps

Modified:
    comdev/reporter.apache.org/trunk/scripts/mailglomper2.py

Modified: comdev/reporter.apache.org/trunk/scripts/mailglomper2.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/mailglomper2.py?rev=1926644&r1=1926643&r2=1926644&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/mailglomper2.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/mailglomper2.py Sun Jun 22 
15:38:10 2025
@@ -2,10 +2,10 @@
 
 """
    Reads public mailing list data from
-   https://lists.apache.org/
-   - listing of mailboxes
+   https://lists.apache.org/api/preferences.json
+   - listing of public mailboxes
    and from each:
-   
https://lists.apache.org/api/stats.json?list={listpart}&domain={project}.apache.org&d=yyyy-mm
+   
https://lists.apache.org/api/stats.json?list={listpart}&domain={project}.apache.org&d=yyyy-mm&quick
    - messages per week and per last two rolling quarters (92 days)
 
    Updates:
@@ -97,7 +97,7 @@ async def weekly_stats(client, listpart,
     if not project:
         return {}
     ldate = date[:4] + "-" + date[4:]  # Convert to lists.a.o format, yyyy-mm
-    url = 
f"https://lists.apache.org/api/stats.json?list={listpart}&domain={domainpart}&d={ldate}";
+    url = 
f"https://lists.apache.org/api/stats.json?list={listpart}&domain={domainpart}&d={ldate}&quick";
     try:
         mldata = await (await client.get(url)).json()
     except Exception as err:


Reply via email to