Skip to content

feat(apis): route wow and overwatch endpoints and add blizzard credentials - #5778

Merged
kashalls merged 1 commit into
mainfrom
feat/apis-game-cards
Oct 4, 2026
Merged

kashalls merged 1 commit into
mainfrom
feat/apis-game-cards

Conversation

@kashalls

@kashalls kashalls commented Oct 4, 2026

Copy link
Copy Markdown
Member

Summary

Wires up the new game profile endpoints from kashalls/apis#17:

  • Routes: api.ok8.sh/wow/* → /api/wow/* and api.ok8.sh/overwatch/* → /api/overwatch/*.
  • Env: WOW_CHARACTERS: retail/area-52/Nyãna, OVERWATCH_BATTLETAGS: Kashall#11253.
  • Secret: apis-secret now also extracts the blizzard 1Password item into BLIZZARD_CLIENT_ID / BLIZZARD_CLIENT_SECRET.

Before merging

  • feat(games): add wow character and overwatch career endpoints kashalls/apis#17 is merged and ghcr.io/kashalls/apis:rolling has rebuilt. Until then the new routes 404 and the env vars are ignored, so merging early is harmless.
  • The blizzard 1Password item has fields named exactly BLIZZARD_CLIENT_ID and BLIZZARD_CLIENT_SECRET. A missing key fails templating for the whole apis-secret, which would also stall the Spotify/GitHub/Home Assistant values.

Verify after rollout

curl -s https://api.ok8.sh/wow/characters | jq
curl -s https://api.ok8.sh/overwatch/players | jq

An empty list means the lookup failed; the reason is logged (fetch wow character / fetch overwatch player). Overwatch stays empty until the Kashall#11253 career profile is set to public in-game.

…tials

Expose /wow and /overwatch on api.ok8.sh, rewritten to the new
/api/wow and /api/overwatch endpoints in apis, configure the tracked
character and BattleTag, and pull the Blizzard client credentials from
the blizzard 1Password item.

Signed-off-by: Jordan Jones <git@svcs.ok8.sh>
@waifuz-bot waifuz-bot Bot added the area/kubernetes Changes made in the kubernetes directory label Oct 4, 2026
@kashalls
kashalls merged commit 60ddeb0 into main Oct 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/kubernetes Changes made in the kubernetes directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant