Fork 0
Report on pages from Plausible, giving more data than their CSV reports allows
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jake Howard c2837f5100
Add project README
4 weeks ago
.gitignore Output results to CSV 4 weeks ago
README.md Add project README 4 weeks ago
report.py Add project README 4 weeks ago
requirements.txt Init a script 4 weeks ago


Plausible Page Report

Create a CSV of all page views by URL. Plausible has a page stats export, but this silently limits itself to the 100 most viewed pages. It does however have an API.


Create an API key, and export it as $PLAUSIBLE_API_TOKEN

python3 report.py <hostname>

If you run your own Plausible instance (like me), set $PLAUSIBLE_HOST.