From ca3029703324406c96cad843dd2605c303058e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BBki=20VACHOT?= Date: Sat, 29 Nov 2025 02:52:37 +0100 Subject: [PATCH] Add Geoguessr API Collection with v3 and v4 folders, environment setup, and getProfiles endpoint configuration. --- .../environments/Production.bru | 7 ++++++ .../Geoguessr API Collection/getProfiles.bru | 16 -------------- .../Geoguessr API Collection/v3/folder.bru | 8 +++++++ .../v3/getProfiles.bru | 22 +++++++++++++++++++ .../Geoguessr API Collection/v4/folder.bru | 8 +++++++ 5 files changed, 45 insertions(+), 16 deletions(-) create mode 100644 tools/bruno/Geoguessr API Collection/environments/Production.bru delete mode 100644 tools/bruno/Geoguessr API Collection/getProfiles.bru create mode 100644 tools/bruno/Geoguessr API Collection/v3/folder.bru create mode 100644 tools/bruno/Geoguessr API Collection/v3/getProfiles.bru create mode 100644 tools/bruno/Geoguessr API Collection/v4/folder.bru diff --git a/tools/bruno/Geoguessr API Collection/environments/Production.bru b/tools/bruno/Geoguessr API Collection/environments/Production.bru new file mode 100644 index 0000000..04c69cf --- /dev/null +++ b/tools/bruno/Geoguessr API Collection/environments/Production.bru @@ -0,0 +1,7 @@ +vars { + GEOGUESSR_API_URL: https://www.geoguessr.com/api + GAME_SERVER_URL: https://game-server.geoguessr.com/api +} +vars:secret [ + GEOGUESSR_NCFA_COOKIE +] diff --git a/tools/bruno/Geoguessr API Collection/getProfiles.bru b/tools/bruno/Geoguessr API Collection/getProfiles.bru deleted file mode 100644 index 47bdff4..0000000 --- a/tools/bruno/Geoguessr API Collection/getProfiles.bru +++ /dev/null @@ -1,16 +0,0 @@ -meta { - name: getProfiles - type: http - seq: 1 -} - -get { - url: https://www.geoguessr.com/api/v3/profiles - body: none - auth: inherit -} - -settings { - encodeUrl: true - timeout: 0 -} diff --git a/tools/bruno/Geoguessr API Collection/v3/folder.bru b/tools/bruno/Geoguessr API Collection/v3/folder.bru new file mode 100644 index 0000000..880ca4f --- /dev/null +++ b/tools/bruno/Geoguessr API Collection/v3/folder.bru @@ -0,0 +1,8 @@ +meta { + name: v3 + seq: 2 +} + +auth { + mode: inherit +} diff --git a/tools/bruno/Geoguessr API Collection/v3/getProfiles.bru b/tools/bruno/Geoguessr API Collection/v3/getProfiles.bru new file mode 100644 index 0000000..2b303c7 --- /dev/null +++ b/tools/bruno/Geoguessr API Collection/v3/getProfiles.bru @@ -0,0 +1,22 @@ +meta { + name: getProfiles + type: http + seq: 1 +} + +get { + url: {{GEOGUESSR_API_URL}}/v3/profiles + body: none + auth: apikey +} + +auth:apikey { + key: Cookie + value: _ncfa={{GEOGUESSR_NCFA_COOKIE}} + placement: header +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/tools/bruno/Geoguessr API Collection/v4/folder.bru b/tools/bruno/Geoguessr API Collection/v4/folder.bru new file mode 100644 index 0000000..2bd6ad4 --- /dev/null +++ b/tools/bruno/Geoguessr API Collection/v4/folder.bru @@ -0,0 +1,8 @@ +meta { + name: v4 + seq: 2 +} + +auth { + mode: inherit +}