How to PDF report using command line


#1

Hi all piwik brother

I know that Piwik can be create PDF report via web admin. But how to create PDF report by command line coz I want to customization after create report. Tks!

Hanky


(Matthieu Aubry) #2

See the API PDFReports: http://piwik.org/docs/analytics-api/reference/#PDFReports

Also in particular this function: http://dev.piwik.org/trac/browser/trunk/plugins/PDFReports/API.php#L229

You can generate this from the command line using the REST API (using Curl for example)