Skip to content

Serve gold and played time from cached addon file#46

Merged
joefarrelly merged 1 commit into
devfrom
addon-gold-played-time-endpoint
Jun 30, 2026
Merged

Serve gold and played time from cached addon file#46
joefarrelly merged 1 commit into
devfrom
addon-gold-played-time-endpoint

Conversation

@joefarrelly

Copy link
Copy Markdown
Owner

Summary

  • `ProfileUserView.list` gains a `page=addon` mode that joins the cached, already-parsed Lua addon file against each `ProfileAlt` by `AltName-Realm`, returning gold and played time per alt instead of discarding the parsed data.

Test plan

  • `pytest tests/` (33 passed)
  • `ruff check`

@joefarrelly joefarrelly enabled auto-merge (squash) June 30, 2026 22:34
@joefarrelly joefarrelly merged commit 47a4f79 into dev Jun 30, 2026
3 checks passed
@joefarrelly joefarrelly deleted the addon-gold-played-time-endpoint branch June 30, 2026 22:34
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
apicore/views.py 0.00% 7 Missing ⚠️

📢 Thoughts on this report? Let us know!

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

Successfully merging this pull request may close these issues.

2 participants