Skip to content

feat: replace defunct Valve-protocol principal with GameServersService - #85

Merged
cetteup merged 1 commit into
mainfrom
feat/replace-valve-protocol-with-game-servers-service
Jul 5, 2026
Merged

feat: replace defunct Valve-protocol principal with GameServersService#85
cetteup merged 1 commit into
mainfrom
feat/replace-valve-protocol-with-game-servers-service

Conversation

@cetteup

@cetteup cetteup commented Jul 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates Valve server listing away from the defunct Valve-protocol principal query to Steam’s IGameServersService/GetServerList Web API by introducing a dedicated provider and wiring it into the Valve lister/CLI.

Changes:

  • Add ValveGameServersServiceProvider to query Steam Web API and return ClassicServer entries.
  • Refactor ValveServerLister to delegate listing to a ValveProvider.
  • Update Valve principal config to api.steampowered.com:443 and add CLI support for providing a Steam Web API key.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
GameserverLister/providers/valve.py Introduces Web API-backed Valve provider and request/response parsing.
GameserverLister/listers/valve.py Switches Valve listing to provider-based retrieval instead of pyvpsq.PrincipalServer.
GameserverLister/games/valve.py Updates Valve “principal” endpoint to Steam Web API host/port.
GameserverLister/commands/valve.py Adds --web-api-key CLI option and constructs the new provider.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread GameserverLister/providers/valve.py
Comment thread GameserverLister/providers/valve.py
Comment thread GameserverLister/listers/valve.py
Comment thread GameserverLister/commands/valve.py
Comment thread GameserverLister/providers/valve.py
@cetteup
cetteup force-pushed the feat/replace-valve-protocol-with-game-servers-service branch from c54966d to 63fac35 Compare July 5, 2026 13:49
@cetteup
cetteup marked this pull request as ready for review July 5, 2026 13:50
@cetteup
cetteup merged commit 85f2c4c into main Jul 5, 2026
3 checks passed
@cetteup
cetteup deleted the feat/replace-valve-protocol-with-game-servers-service branch July 5, 2026 18:49
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