https://github.com/bph/devblog-reporting-scripts
https://github.com/bph/devblog-reporting-scripts
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bph/devblog-reporting-scripts
- Owner: bph
- Created: 2024-12-13T12:09:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-13T19:25:30.000Z (over 1 year ago)
- Last Synced: 2025-06-11T22:48:17.870Z (about 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Devblog Reports
### WordPress REST API Fetcher
This script fetches posts from the WordPress REST API and generates a Markdown report based on the views data from Jetpack csv download.
#### Usage
1. Download the Jetpack csv file from the WordPress dashboard.
2. Run the script: `python wordpress-rest-api-fetcher.py`
3. Follow the prompts to input the date filter and view the report.
#### Requirements
- Python 3.x
- `requests` library
- `python-dotenv` library