refactor(script.py): improve logging, base URL structure, and API params #1

Merged
MM_Ghasemi merged 1 commits from mm_ghasemi-patch-1 into wordpress_api_app 2026-05-04 09:08:28 +03:30

1 Commits

Author SHA1 Message Date
6b14fa1bac refactor(script.py): improve logging, base URL structure, and API params
- replace print statements with logging module
- refactor BASE_URL to be reusable and construct endpoint via f-string
- remove hardcoded comment status filter to rely on WordPress defaults
- improve error handling messages
- minor code cleanup and readability improvements
2026-05-04 09:06:47 +03:30