Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Add Downloads per Day for Themes #157

@Luehrsen

Description

@Luehrsen

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions