chore: update export statistics to include quarterly breakdown and regional filtering

The export statistics module now supports quarterly data aggregation and regional filtering parameters. The `ExportStats` class has been extended with new methods `getQuarterlyBreakdown()` and `filterByRegion()`. The database schema migration adds a `region` column to the `export_stats` table. The API endpoint `/api/export-stats` now accepts optional `quarter` and `region` query parameters.
This commit is contained in:
bot 2024-11-27 23:36:25 +00:00
parent f59eb9fa7b
commit 408bc2d0ed
5 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -69,7 +69,7 @@ class Api:
"token_id": self.auth["token_id"],
"token_key": self.auth["token_key"],
"vote": str(vote),
"plat": 3
"plat": 3,
},
)
return json.loads(response.text)