Add Geoguessr API Collection with v3 and v4 folders, environment setup, and getProfiles endpoint configuration.
This commit is contained in:
parent
283d7deee4
commit
ca30297033
5 changed files with 45 additions and 16 deletions
|
|
@ -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
|
||||
]
|
||||
|
|
@ -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
|
||||
}
|
||||
8
tools/bruno/Geoguessr API Collection/v3/folder.bru
Normal file
8
tools/bruno/Geoguessr API Collection/v3/folder.bru
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
meta {
|
||||
name: v3
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
22
tools/bruno/Geoguessr API Collection/v3/getProfiles.bru
Normal file
22
tools/bruno/Geoguessr API Collection/v3/getProfiles.bru
Normal file
|
|
@ -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
|
||||
}
|
||||
8
tools/bruno/Geoguessr API Collection/v4/folder.bru
Normal file
8
tools/bruno/Geoguessr API Collection/v4/folder.bru
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
meta {
|
||||
name: v4
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue