Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Downloads per Day for Themes #157

Open
3 tasks
Luehrsen opened this issue May 12, 2024 · 0 comments
Open
3 tasks

Add Downloads per Day for Themes #157

Luehrsen opened this issue May 12, 2024 · 0 comments
Assignees

Comments

@Luehrsen
Copy link
Member

Luehrsen commented May 12, 2024

Downloads per day are a rather expensive metric to get, but might be worth it. The plan:

  • Keep a daily record of downloads per day per theme
  • Aggregate these values daily towards: Avg 7, Avg 30, trend direction

The endpoint to crawl:

https://api.wordpress.org/stats/themes/1.0/downloads.php?slug=twentytwentyfour

ToDo:

  • Extend the Theme entity to register DPD_AVG_28, DPD_AVG_7, DPD_LAST_CRAWL
  • Register a new Theme_DPD entity to save date, theme, downloads, avg28, avg7
  • Expose these values to the frontend
@Luehrsen Luehrsen self-assigned this May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant