forked from 0xWheatyz/SPARC
Export analysis reports as PDF or CSV from the dashboard #218
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Users currently have no way to download analysis results outside the browser UI. An export feature would make SPARC results shareable and archivable.
Roadmap reference: ROADMAP.md > P3 > Export analysis reports
What to do
GET /jobs/{job_id}/export?format=pdf|csv) that returns the formatted file.reportlaborweasyprintto render a simple template.Acceptance criteria
This issue has already been resolved in the current codebase.
api.pyhas two export endpoints:GET /export/{company_name}for CSV export andGET /export/{company_name}/pdffor PDF export. Both return downloadable files with appropriate Content-Disposition headers.Closing as already implemented.