feat(psn): sync PlayStation trophies as achievements
Build, Test & Push Core Service / quality-check (push) Successful in 1m30s
Build, Test & Push Core Service / docker (push) Successful in 1m49s

Sets map by exact title id, else by name and platform.
Trophy gains count as achievements; platinum or all earned is perfect.
Max 30 PSN calls per run; trophy lists load only when changed.
Hidden trophies stay hidden (name and detail) until earned.
This commit is contained in:
lobo committed 2026-10-08 09:18:15 +02:00
1 parent f5ca7237a9
commit 0ddb345a41
54 files changed
+2937 -68

No files matched your search

+3
View File
@@ -56,6 +56,9 @@ app:
token-key: ${APP_PSN_TOKEN_KEY:}
auth-base-url: https://ca.account.sony.com/api/authz/v3/oauth
api-base-url: https://m.np.playstation.com/api
# Trophy calls per sync run (title id lookups and trophy lists). The sync counts as stale after 5 minutes and
# the rate limit below is one call per 4 s, so 30 calls take 2 minutes.
trophy-calls-per-run: 30
# Days before the link ends that the inbox gets its "ends soon" note.
expiry-warning-days: 2
# The public client of the PlayStation app, as the psn-api project ships it. Not a secret of ours.