As we currently use a dashboard that pulls in data via an API (or otehr connection methods) it would nice to be able to gave an API that can pull in details.
E.g. /api/pageviews/last7days to get the last 7 days page views,
this can be super useful
This would also be useful to make rankings of most visited posts on a blog.
Yeah, great idea.
Great news! 🥳
This is actually possible using their own internal /api/YOUR_SITE_NAME_HERE endpoint if you leave your stats as public. Not the best solution but definitely possible right now.
All you would need to do is find the stats that you want and then open up the Network monitor to see what requests are being made.
Thank you all for your contribution. We’re moving this thread to Github: https://github.com/plausible/analytics/issues/95