Add project README
This commit is contained in:
parent
d7b66de563
commit
c2837f5100
2 changed files with 13 additions and 0 deletions
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Plausible Page Report
|
||||
|
||||
Create a CSV of all page views by URL. Plausible has a [page stats export](https://plausible.io/docs/export-stats), but this silently limits itself to the 100 most viewed pages. It does however have an [API](https://plausible.io/docs/stats-api#get-apiv1statsbreakdown).
|
||||
|
||||
## Usage
|
||||
|
||||
Create an API key, and export it as `$PLAUSIBLE_API_TOKEN`
|
||||
|
||||
```
|
||||
python3 report.py <hostname>
|
||||
```
|
||||
|
||||
If you run your own Plausible instance ([like me](https://theorangeone.net/posts/self-hosting-plausible/)), set `$PLAUSIBLE_HOST`.
|
0
report.py
Normal file → Executable file
0
report.py
Normal file → Executable file
Loading…
Reference in a new issue