A game is pinned to exactly one node — its players, rooms and leaderboards exist only there. Resolve the node once, then point every call at it; a key presented on the wrong node answers 421 with a home_api_url hint.
public static Task<DiscoverResponse> Discover(Client client, CancellationToken ct = default)
GET /api/discover.php — every enabled node plus the server's geo hint. No auth needed.
Example Usage:
var dir = await Regions.Discover(client);
public static Task<GameNodeResponse> ResolveGame(Client client, string apiKey, CancellationToken ct = default)
POST /api/discover.php with the key in X-Api-Token (never in a URL) — returns the game's pinned node.
Example Usage:
var r = await Regions.ResolveGame(client, apiKey);
var home = new Client(apiKey, baseUrl: r.node.api_url);