mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
Merge pull request #1021 from rommapp/misc/replace-pytest-vcr-with-pytest-recording
misc: Replace pytest-vcr dependency with pytest-recording
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,10 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from handler.filesystem import fs_platform_handler, fs_resource_handler, fs_rom_handler
|
||||
from models.platform import Platform
|
||||
|
||||
|
||||
@pytest.mark.vcr
|
||||
async def test_get_rom_cover():
|
||||
path_cover_s, path_cover_l = await fs_resource_handler.get_cover(
|
||||
overwrite=False, entity=None, url_cover=""
|
||||
|
||||
@@ -1,260 +0,0 @@
|
||||
interactions:
|
||||
- request:
|
||||
body:
|
||||
fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where id=3340; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer test_token
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "618"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
|
||||
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
|
||||
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
|
||||
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
|
||||
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
|
||||
\ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6aa98bd16c85-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "437"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:43 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=idsNnYjxs8v_3Xm2bnIfGxJGCZ6Ez23X0PApeu2WoJc-1707128383-1-ARoau+8n2A6HcPBwbeTGM2ZpBgHc+YUTpcdHConVruaz6eigsfYp9g/ql0IwVW6YR9uIxWwiLHBAGJJdvGdtnns=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:43 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 4e3b2e1fa2acb7612ea516b89c06af70.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- 4-aVMXkKBO6ANF1XqkKrv3bwoniQz54ulf5eoSHcxSUn0RZ-HmLLPQ==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Error from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFp5GvgPHcEOGw=
|
||||
x-amzn-ErrorType:
|
||||
- AccessDeniedException
|
||||
x-amzn-RequestId:
|
||||
- 02e5e6b4-3c1d-4afa-8521-99ab5b70b38d
|
||||
status:
|
||||
code: 401
|
||||
message: Unauthorized
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- "*/*"
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "0"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
'{"access_token":"0ajdkw27v1u71kprgniwm19kqh8stt","expires_in":4993399,"token_type":"bearer"}
|
||||
|
||||
'
|
||||
headers:
|
||||
Access-Control-Allow-Origin:
|
||||
- "*"
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "93"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:44 GMT
|
||||
Server:
|
||||
- nginx
|
||||
X-Ctxlog-Logid:
|
||||
- 1-65c0b640-45264976263a955c66dec3d5
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body:
|
||||
fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where id=3340; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer 0ajdkw27v1u71kprgniwm19kqh8stt
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "618"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"[\n {\n \"id\": 3340,\n \"aggregated_rating\": 90.0,\n \"alternative_names\":
|
||||
[\n {\n \"id\": 39105,\n \"name\": \"Zhi Pian Mario\"\n
|
||||
\ },\n {\n \"id\": 51791,\n \"name\": \"\u30DE\u30EA\u30AA\u30B9\u30C8\u30FC\u30EA\u30FC\"\n
|
||||
\ },\n {\n \"id\": 51792,\n \"name\": \"\u7EB8\u7247\u9A6C\u91CC\u5965\"\n
|
||||
\ },\n {\n \"id\": 78718,\n \"name\": \"Mario Story\"\n
|
||||
\ },\n {\n \"id\": 88088,\n \"name\": \"Super Mario
|
||||
RPG 2\"\n },\n {\n \"id\": 119107,\n \"name\": \"\u7EB8\u7247\u9A6C\u529B\u6B27\"\n
|
||||
\ },\n {\n \"id\": 137285,\n \"name\": \"\uD398\uC774\uD37C
|
||||
\uB9C8\uB9AC\uC624\"\n }\n ],\n \"artworks\": [\n {\n \"id\":
|
||||
73649,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/ar1ktt.jpg\"\n
|
||||
\ }\n ],\n \"cover\": {\n \"id\": 80830,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/co1qda.jpg\"\n
|
||||
\ },\n \"external_games\": [\n {\n \"id\": 138931,\n \"category\":
|
||||
3,\n \"uid\": \"19929\"\n },\n {\n \"id\": 245769,\n
|
||||
\ \"category\": 14,\n \"uid\": \"18231\"\n },\n {\n
|
||||
\ \"id\": 1931441,\n \"category\": 20,\n \"uid\": \"B01BLAWHKI\"\n
|
||||
\ },\n {\n \"id\": 1931588,\n \"category\": 20,\n \"uid\":
|
||||
\"B003ZDOH3K\"\n },\n {\n \"id\": 1933352,\n \"category\":
|
||||
20,\n \"uid\": \"B009LUDMJQ\"\n }\n ],\n \"first_release_date\":
|
||||
965952000,\n \"franchises\": [\n {\n \"id\": 845,\n \"name\":
|
||||
\"Mario\"\n }\n ],\n \"game_modes\": [\n {\n \"id\":
|
||||
1,\n \"name\": \"Single player\"\n }\n ],\n \"genres\":
|
||||
[\n {\n \"id\": 12,\n \"name\": \"Role-playing (RPG)\"\n
|
||||
\ },\n {\n \"id\": 16,\n \"name\": \"Turn-based strategy
|
||||
(TBS)\"\n },\n {\n \"id\": 31,\n \"name\": \"Adventure\"\n
|
||||
\ }\n ],\n \"involved_companies\": [\n {\n \"id\": 148214,\n
|
||||
\ \"company\": {\n \"id\": 70,\n \"name\": \"Nintendo\"\n
|
||||
\ }\n },\n {\n \"id\": 148215,\n \"company\":
|
||||
{\n \"id\": 765,\n \"name\": \"Intelligent Systems Co.,
|
||||
Ltd.\"\n }\n },\n {\n \"id\": 225578,\n \"company\":
|
||||
{\n \"id\": 5163,\n \"name\": \"iQue\"\n }\n },\n
|
||||
\ {\n \"id\": 225579,\n \"company\": {\n \"id\":
|
||||
812,\n \"name\": \"Gradiente\"\n }\n }\n ],\n \"name\":
|
||||
\"Paper Mario\",\n \"platforms\": [\n {\n \"id\": 4,\n \"name\":
|
||||
\"Nintendo 64\"\n },\n {\n \"id\": 5,\n \"name\":
|
||||
\"Wii\"\n },\n {\n \"id\": 41,\n \"name\": \"Wii U\"\n
|
||||
\ }\n ],\n \"player_perspectives\": [\n {\n \"id\":
|
||||
2,\n \"name\": \"Third person\"\n },\n {\n \"id\":
|
||||
4,\n \"name\": \"Side view\"\n }\n ],\n \"screenshots\":
|
||||
[\n {\n \"id\": 24167,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/a5r3k2lf3lgvifrycqeg.jpg\"\n
|
||||
\ },\n {\n \"id\": 24168,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/hdxgs9nruycvrzcgvseu.jpg\"\n
|
||||
\ },\n {\n \"id\": 24169,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/ig9ainu9fershqdinox1.jpg\"\n
|
||||
\ },\n {\n \"id\": 24170,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/jz66se3deczeta6hd4ys.jpg\"\n
|
||||
\ },\n {\n \"id\": 24171,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/kjnf90jnud6njmwto3th.jpg\"\n
|
||||
\ }\n ],\n \"similar_games\": [\n {\n \"id\": 358,\n
|
||||
\ \"name\": \"Super Mario Bros.\"\n },\n {\n \"id\":
|
||||
660,\n \"name\": \"Darkstone\"\n },\n {\n \"id\":
|
||||
1026,\n \"name\": \"The Legend of Zelda: A Link to the Past\"\n },\n
|
||||
\ {\n \"id\": 1035,\n \"name\": \"The Legend of Zelda: The
|
||||
Minish Cap\"\n },\n {\n \"id\": 1068,\n \"name\":
|
||||
\"Super Mario Bros. 3\"\n },\n {\n \"id\": 1280,\n \"name\":
|
||||
\"Breath of Fire IV\"\n },\n {\n \"id\": 2148,\n \"name\":
|
||||
\"Banjo-Kazooie\"\n },\n {\n \"id\": 3349,\n \"name\":
|
||||
\"Paper Mario: The Thousand-Year Door\"\n },\n {\n \"id\":
|
||||
3351,\n \"name\": \"Mario \\u0026 Luigi: Superstar Saga\"\n },\n
|
||||
\ {\n \"id\": 22387,\n \"name\": \"Legrand Legacy\"\n }\n
|
||||
\ ],\n \"slug\": \"paper-mario\",\n \"summary\": \"Paper Mario, a
|
||||
turn-based JRPG entry in the Mario franchise with a paper-based aesthetic
|
||||
and platforming elements, sees the titular character working his way through
|
||||
the Mushroom Kingdom\\u0027s diverse locales and biomes, meeting its inhabitants,
|
||||
fighthing unruly enemies and recruiting an array of companions in order to
|
||||
once again save Princess Peach from the clutches of the evil Koopa King Bowser.\",\n
|
||||
\ \"total_rating\": 88.63944908765737,\n \"language_supports\": [\n {\n
|
||||
\ \"id\": 473450,\n \"language\": {\n \"id\": 3,\n \"name\":
|
||||
\"Chinese (Traditional)\"\n }\n },\n {\n \"id\": 473451,\n
|
||||
\ \"language\": {\n \"id\": 7,\n \"name\": \"English\"\n
|
||||
\ }\n },\n {\n \"id\": 473452,\n \"language\":
|
||||
{\n \"id\": 16,\n \"name\": \"Japanese\"\n }\n },\n
|
||||
\ {\n \"id\": 492896,\n \"language\": {\n \"id\":
|
||||
12,\n \"name\": \"French\"\n }\n },\n {\n \"id\":
|
||||
492897,\n \"language\": {\n \"id\": 27,\n \"name\":
|
||||
\"German\"\n }\n },\n {\n \"id\": 492898,\n \"language\":
|
||||
{\n \"id\": 9,\n \"name\": \"Spanish (Spain)\"\n }\n
|
||||
\ }\n ],\n \"collections\": [\n {\n \"id\": 240,\n \"name\":
|
||||
\"Super Mario\"\n },\n {\n \"id\": 593,\n \"name\":
|
||||
\"Paper Mario\"\n }\n ]\n }\n]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6ab38d90247e-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Length:
|
||||
- "1538"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:44 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=AWDtDNBesiBNRG_TAxOGiuFwRFLkVaMKKzacjuSfN1A-1707128384-1-AZI98at0D2lKevu+JZmue7g+iAQDTWUztnF+TYef4qpdJwzWz5QM6WAT6R4v8/uSMGLSpUNPeyVatb7wLRpmQzQ=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:44 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 4e3b2e1fa2acb7612ea516b89c06af70.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- qO4AjLq5N8IuebEhbM-ll0ZIUdDLcpk5TUQEyihZkZ4KsQysKFyAug==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "1"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFqJGvLPHcEmEQ=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "1538"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:44 GMT
|
||||
x-amzn-RequestId:
|
||||
- e60e2362-b0b4-4e60-8ca2-31f3a4a96fb3
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
version: 1
|
||||
File diff suppressed because it is too large
Load Diff
426
backend/handler/tests/cassettes/test_get_platform.yaml
generated
426
backend/handler/tests/cassettes/test_get_platform.yaml
generated
@@ -1,426 +0,0 @@
|
||||
interactions:
|
||||
- request:
|
||||
body: fields id,name; where slug="n64"; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer test_token
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "44"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/platforms
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
|
||||
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
|
||||
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
|
||||
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
|
||||
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
|
||||
\ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a084fe22491-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "437"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:17 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=wI5qRiMVg9zeRFC16EWmg5QX4LC2PiWBKed5CMdjsrs-1707128357-1-AdqBajl1HykmrPno2Olmo7Zpm1T2Izl1AN267NfkMklNUNsMll5MKFYK9+X0hB6xMDwYFuaYqPMsN1TIEfK0bLA=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:17 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 4ca98b546b8d71c72caf6a3d8f75dc24.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- QvQSlzbZxMCrYfGYRZS0RrTn75PhhgRT3v52Ht0I77p2OfVZIe_kEQ==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Error from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFl3EmCvHcEiEw=
|
||||
x-amzn-ErrorType:
|
||||
- AccessDeniedException
|
||||
x-amzn-RequestId:
|
||||
- 33d240f8-5a87-42ee-bb46-fa1364caa51e
|
||||
status:
|
||||
code: 401
|
||||
message: Unauthorized
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- "*/*"
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "0"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
'{"access_token":"g7ae578ve5tifqtdn3bezx80bstfue","expires_in":5314976,"token_type":"bearer"}
|
||||
|
||||
'
|
||||
headers:
|
||||
Access-Control-Allow-Origin:
|
||||
- "*"
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "93"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:18 GMT
|
||||
Server:
|
||||
- nginx
|
||||
X-Ctxlog-Logid:
|
||||
- 1-65c0b626-79607bfc1350e4771b26d79a
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: fields id,name; where slug="n64"; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer g7ae578ve5tifqtdn3bezx80bstfue
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "44"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/platforms
|
||||
response:
|
||||
body:
|
||||
string: "[\n {\n \"id\": 4,\n \"name\": \"Nintendo 64\"\n }\n]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a127e4a2480-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:19 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=BhoByQbyH5w5XxZfGFgNDyCdYOO4_tsv4VbwckN.V.k-1707128359-1-AfyHumutGxUowqCOTMklr91ddX5Q0JcCx3fEVGCMDj/EgPxnZ1+MTSPUUqHNzKEXgv7ofFoFgRd4Sm2PbA7yf9A=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:19 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
Via:
|
||||
- 1.1 4ca98b546b8d71c72caf6a3d8f75dc24.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- Q-_mlygniUPJuoMIWeVazYnAUKO-JwlI6ICG8BHyyU7LqUtioQBnqA==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "1"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFmLEj9vHcEY_Q=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "50"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:19 GMT
|
||||
x-amzn-RequestId:
|
||||
- fff69edb-7d6d-4333-9b3f-866113a347b7
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: fields id,name; where slug="not-real"; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer test_token
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "49"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/platforms
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
|
||||
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
|
||||
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
|
||||
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
|
||||
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
|
||||
\ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a17aaf22480-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "437"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:19 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=VCUWPaFo1l0.hhcoY8TNbX.7v.sHgv3o5msGbW4IwY4-1707128359-1-AV/UMB6hyybtdlkNtDX05HkPHB47tI6KsqFMb3tqKal7TTIv6Xz/vDTpEhLXDk7N4+UU5aMO6QKlmosR6ZUvL7c=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:19 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 c8710a117c1dfdaea4e9dfc4d41970d2.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- vbQSmJ-mKi0-ExOR5HRDVL-iUet_f91se4KurIK-GWFAtJPMaw9Vgg==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Error from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFmQEslvHcEnmg=
|
||||
x-amzn-ErrorType:
|
||||
- AccessDeniedException
|
||||
x-amzn-RequestId:
|
||||
- c4f1e9b7-87a1-48a8-9ff3-c829e6a79f5e
|
||||
status:
|
||||
code: 401
|
||||
message: Unauthorized
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- "*/*"
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "0"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
'{"access_token":"ce0q1kmen9ztee5526s91upn2pgrjt","expires_in":5469004,"token_type":"bearer"}
|
||||
|
||||
'
|
||||
headers:
|
||||
Access-Control-Allow-Origin:
|
||||
- "*"
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "93"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:21 GMT
|
||||
Server:
|
||||
- nginx
|
||||
X-Ctxlog-Logid:
|
||||
- 1-65c0b628-6500ce7102a2dac52cf782d3
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: fields id,name; where slug="not-real"; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer ce0q1kmen9ztee5526s91upn2pgrjt
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "49"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/platforms
|
||||
response:
|
||||
body:
|
||||
string: "[]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a218ce1248e-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "2"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:21 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=b2uiyDgwdN2kh1po30EhKiAv01njluEztOl8HzJbnD0-1707128361-1-ASLaLYhc5sa6VxDrZrhxgDGbLyZSyc8cNz0JRYqQ25IYOH50R7Dn5Q/Q0hc6AnIZ+MMW49mpgnyOyWDJ9WV2eyk=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:21 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 4ca98b546b8d71c72caf6a3d8f75dc24.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- FT_JcJCfNPxDIlcySLiCDv_yJNkstWHK9QQ_xsKwOjEFQKMPEhzFUQ==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "0"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFmjGMnvHcEB1w=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "2"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:21 GMT
|
||||
x-amzn-RequestId:
|
||||
- 90fcc208-1691-49ea-97bf-ccab670458d1
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: fields id,name; where slug="not-real"; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer ce0q1kmen9ztee5526s91upn2pgrjt
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "49"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/platform_versions
|
||||
response:
|
||||
body:
|
||||
string: "[]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a269fbc5ac5-VIE
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "2"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:22 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=W72fEd3tkalmetq_mNQ7n_UmFAMwTugWoyt6q.tSK0I-1707128362-1-AZq/POkqXl2I0+NMDFqTHngxKUwQ5ehSRihAQE9jYEPPQKQV7W0tP+QteV9RNNRE6AkaIUkjsZWu3VWJXeSFyUw=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:22 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 a4035907ac3c3ba8d1fd116b6b6b9a4c.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- C9AU5yakduVKlqWfBlMyFazD5JPOlFjlfdMHvqrnqVriqauKZPezMg==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "0"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFmoEvUvHcEHqg=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "2"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:22 GMT
|
||||
x-amzn-RequestId:
|
||||
- 9b7de1ff-7b8a-4cb4-82be-b90a45f9ab44
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
version: 1
|
||||
@@ -1,380 +0,0 @@
|
||||
interactions:
|
||||
- request:
|
||||
body:
|
||||
search "WWE Smack"; fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where platforms=[8] ; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer test_token
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "645"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
|
||||
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
|
||||
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
|
||||
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
|
||||
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
|
||||
\ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a6cc862248a-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "437"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:33 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=q9RZ2oX2yUNILpRZVW5OoxHlMGDvBPehxTGDol4K2oI-1707128373-1-AV4dvQqWExP3Dtve1W7vyWoYIbFdjDLAuobb7kXhAgK9VeOuXyVdYFt4J8CHGqbLYqRqXo2qRom19qjprAWkxH4=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:33 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 c8710a117c1dfdaea4e9dfc4d41970d2.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- V2CITeT8MTu0_1ivYUqp2mwvEhRlhwvKoYXDsDCNwCQ7nS_Jp8vl9w==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Error from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFobF8DPHcEaEA=
|
||||
x-amzn-ErrorType:
|
||||
- AccessDeniedException
|
||||
x-amzn-RequestId:
|
||||
- 303a827f-7960-4f11-9625-6da894bd89f0
|
||||
status:
|
||||
code: 401
|
||||
message: Unauthorized
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- "*/*"
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "0"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
'{"access_token":"ceowppsaubbqnesvgmn8bxq2bz1e93","expires_in":5232645,"token_type":"bearer"}
|
||||
|
||||
'
|
||||
headers:
|
||||
Access-Control-Allow-Origin:
|
||||
- "*"
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "93"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:34 GMT
|
||||
Server:
|
||||
- nginx
|
||||
X-Ctxlog-Logid:
|
||||
- 1-65c0b636-7add0780529675930d3892c4
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body:
|
||||
search "WWE Smack"; fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where platforms=[8] ; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer ceowppsaubbqnesvgmn8bxq2bz1e93
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "645"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string: "[]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a78ea775a8f-VIE
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "2"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:35 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=nPdFOwqHSK8.4iUCLhlaW0RLKE7sXiBFWo5bapNv8ls-1707128375-1-AcopgG+rfx+1lCOkCsQcixVy6AX38T9d2mao1At8n1nrFCEuHamBbEaQf6lAvFoih7fZq0e6PlmEhTImjuBUUtQ=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:35 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 881b12332738e10f6e80298fbdcd7e8e.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- hm6HNEMABW_ZnDuFNHPpzFNwTht8Xx3NuBKJpXRQp7TkBKOlSRoQgw==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "0"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqForGNWPHcEl2w=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "2"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:35 GMT
|
||||
x-amzn-RequestId:
|
||||
- 6ea19906-7c95-44bd-a145-9455a3105a3e
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body:
|
||||
fields game.id,name; where game.platforms=[8] & (name ~ *"WWE Smack"* |
|
||||
alternative_name ~ *"WWE Smack"*); limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer ceowppsaubbqnesvgmn8bxq2bz1e93
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "117"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/search
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"[\n {\n \"id\": 22703,\n \"game\": {\n \"id\": 6461\n },\n
|
||||
\ \"name\": \"WWE SmackDown! Shut Your Mouth\"\n },\n {\n \"id\": 23270,\n
|
||||
\ \"game\": {\n \"id\": 5298\n },\n \"name\": \"WWE SmackDown
|
||||
vs Raw 2008\"\n },\n {\n \"id\": 38521,\n \"game\": {\n \"id\":
|
||||
80852\n },\n \"name\": \"WWE Smackdown! vs Raw\"\n },\n {\n \"id\":
|
||||
42494,\n \"game\": {\n \"id\": 7252\n },\n \"name\": \"WWE SmackDown
|
||||
vs Raw 2007\"\n },\n {\n \"id\": 64889,\n \"game\": {\n \"id\":
|
||||
5300\n },\n \"name\": \"WWE SmackDown vs Raw 2010\"\n },\n {\n \"id\":
|
||||
96855,\n \"game\": {\n \"id\": 2265\n },\n \"name\": \"WWE SmackDown
|
||||
vs Raw 2011\"\n },\n {\n \"id\": 111128,\n \"game\": {\n \"id\":
|
||||
5299\n },\n \"name\": \"WWE SmackDown vs Raw 2009\"\n },\n {\n \"id\":
|
||||
114042,\n \"game\": {\n \"id\": 6442\n },\n \"name\": \"WWE
|
||||
Smackdown! Here Comes the Pain\"\n },\n {\n \"id\": 164052,\n \"game\":
|
||||
{\n \"id\": 18323\n },\n \"name\": \"WWE SmackDown! vs Raw 2006\"\n
|
||||
\ }\n]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a7c1f99248e-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:37 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=rTR9ZrqC1sN4ia5ons.JkcDv_yZgj1BMvUvphQmttjw-1707128377-1-Af9WUirirOQ6ptU0pFtmVvu8UFcO/fjQll/RS0CrwC84+lRPproAa+Mmg4QlLbWku+XN+A85uIZrbjJ74coMUco=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:37 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
Via:
|
||||
- 1.1 4ca98b546b8d71c72caf6a3d8f75dc24.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- 1mEYrUKTKSm9ho3tcCziBkYL-GIJEuA5d-ope26ulmeddsENjM2nOw==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "9"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFo0FsaPHcEidA=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "954"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:36 GMT
|
||||
x-amzn-RequestId:
|
||||
- 749da0d8-ec39-47c1-bc8d-05ae7fc0d335
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body:
|
||||
fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where id=6461; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer ceowppsaubbqnesvgmn8bxq2bz1e93
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "618"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"[\n {\n \"id\": 6461,\n \"aggregated_rating\": 80.0,\n \"alternative_names\":
|
||||
[\n {\n \"id\": 84798,\n \"name\": \"Exciting Pro Wrestling
|
||||
4\"\n }\n ],\n \"cover\": {\n \"id\": 212962,\n \"url\":
|
||||
\"//images.igdb.com/igdb/image/upload/t_thumb/co4kbm.jpg\"\n },\n \"external_games\":
|
||||
[\n {\n \"id\": 150149,\n \"category\": 3,\n \"uid\":
|
||||
\"7552\"\n },\n {\n \"id\": 1189446,\n \"category\":
|
||||
14,\n \"uid\": \"6910\"\n }\n ],\n \"first_release_date\":
|
||||
1036022400,\n \"franchise\": {\n \"id\": 255,\n \"name\": \"WWE\"\n
|
||||
\ },\n \"franchises\": [\n {\n \"id\": 255,\n \"name\":
|
||||
\"WWE\"\n }\n ],\n \"game_modes\": [\n {\n \"id\":
|
||||
1,\n \"name\": \"Single player\"\n },\n {\n \"id\":
|
||||
4,\n \"name\": \"Split screen\"\n }\n ],\n \"genres\": [\n
|
||||
\ {\n \"id\": 14,\n \"name\": \"Sport\"\n }\n ],\n
|
||||
\ \"involved_companies\": [\n {\n \"id\": 15372,\n \"company\":
|
||||
{\n \"id\": 197,\n \"name\": \"THQ\"\n }\n },\n
|
||||
\ {\n \"id\": 220218,\n \"company\": {\n \"id\":
|
||||
14321,\n \"name\": \"Yuke\\u0027s\"\n }\n }\n ],\n
|
||||
\ \"name\": \"WWE SmackDown! Shut Your Mouth\",\n \"platforms\": [\n
|
||||
\ {\n \"id\": 8,\n \"name\": \"PlayStation 2\"\n }\n
|
||||
\ ],\n \"screenshots\": [\n {\n \"id\": 681390,\n \"url\":
|
||||
\"//images.igdb.com/igdb/image/upload/t_thumb/scelri.jpg\"\n }\n ],\n
|
||||
\ \"similar_games\": [\n {\n \"id\": 2265,\n \"name\":
|
||||
\"WWE SmackDown vs. Raw 2011\"\n },\n {\n \"id\": 4573,\n
|
||||
\ \"name\": \"WWE WrestleMania X8\"\n },\n {\n \"id\":
|
||||
6442,\n \"name\": \"WWE Smackdown! Here Comes the Pain\"\n },\n
|
||||
\ {\n \"id\": 6444,\n \"name\": \"WWF SmackDown! 2: Know
|
||||
Your Role\"\n },\n {\n \"id\": 6445,\n \"name\": \"WWF
|
||||
SmackDown! Just Bring It\"\n },\n {\n \"id\": 18323,\n \"name\":
|
||||
\"WWE SmackDown! vs. Raw 2006\"\n },\n {\n \"id\": 48707,\n
|
||||
\ \"name\": \"WWF King of the Ring\"\n },\n {\n \"id\":
|
||||
102805,\n \"name\": \"WWE 2K19\"\n },\n {\n \"id\":
|
||||
114286,\n \"name\": \"Madden NFL 20\"\n },\n {\n \"id\":
|
||||
114287,\n \"name\": \"FIFA 20\"\n }\n ],\n \"slug\": \"wwe-smackdown-shut-your-mouth\",\n
|
||||
\ \"summary\": \"A WHOLE NEW SEASON OF SMACKDOWN!\\n\\n-BUILD YOUR OWN DRAMA
|
||||
WITH REAL WWF STORYLINES\\n-ALL-NEW DRAFT\\n-INTERACTIVE BACKSTAGE AREAS\\n-WHATCHA
|
||||
GONNA DO?!\",\n \"total_rating\": 79.14862332115482,\n \"collections\":
|
||||
[\n {\n \"id\": 5106,\n \"name\": \"WWE Smackdown!\"\n
|
||||
\ }\n ]\n }\n]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a852af9247e-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Length:
|
||||
- "877"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:37 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=BFQUPeuv6U_7GnopEtVoMTmmI3k9k3d4PGkruQewvoo-1707128377-1-ASM3OUndgKuFrKoGAd8UgUO4WZEDJf+xEZBsB8kb6oZvQg10rdyGchjFezM7aTl+XQFpDwxmHYK8REi35yiyY8A=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:37 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 4ca98b546b8d71c72caf6a3d8f75dc24.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- 9xlBT46Pb1uXdOwZqdWu36iBZbvw-pZxL2qJIdq30gjn9LecOX0TNg==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "1"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFo_FddPHcEROQ=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "877"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:37 GMT
|
||||
x-amzn-RequestId:
|
||||
- 0fcc21b2-2356-4610-a746-626f094edd81
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
version: 1
|
||||
1127
backend/handler/tests/cassettes/test_get_rom.yaml
generated
1127
backend/handler/tests/cassettes/test_get_rom.yaml
generated
File diff suppressed because it is too large
Load Diff
441
backend/handler/tests/cassettes/test_get_rom_by_id.yaml
generated
441
backend/handler/tests/cassettes/test_get_rom_by_id.yaml
generated
@@ -1,441 +0,0 @@
|
||||
interactions:
|
||||
- request:
|
||||
body:
|
||||
fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where id=3340; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer test_token
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "618"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
|
||||
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
|
||||
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
|
||||
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
|
||||
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
|
||||
\ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a88e92b5a89-VIE
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "437"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:38 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=d2HnDrDz7Uw4tR25QPxztbOdLCIck.fkqPtBk8KzHK4-1707128378-1-ARYqDUoIcdtRbsXjAnQHy3VXU02r9bI7TWOKAjnDZmnFyzimVkd0O0dw1a0xGYCuWo/bzdX/1agFoJeZ/FfWoTk=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:38 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 42c9dddb4e518a9ed3248bf50565b120.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- y4GV_3LdprxmhVe-w-sHUQY3rYMF4FGq_sV9TRcftojvt17ejFEOLw==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Error from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFpIEW-PHcEn0w=
|
||||
x-amzn-ErrorType:
|
||||
- AccessDeniedException
|
||||
x-amzn-RequestId:
|
||||
- c463d4bc-d93d-42a1-bf40-6cd79c4f8541
|
||||
status:
|
||||
code: 401
|
||||
message: Unauthorized
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- "*/*"
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "0"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
'{"access_token":"ceo0skenysx8qxr7433zhovoa20ak2","expires_in":5229503,"token_type":"bearer"}
|
||||
|
||||
'
|
||||
headers:
|
||||
Access-Control-Allow-Origin:
|
||||
- "*"
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "93"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:39 GMT
|
||||
Server:
|
||||
- nginx
|
||||
X-Ctxlog-Logid:
|
||||
- 1-65c0b63b-48f1d33821b48a24223cf595
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body:
|
||||
fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where id=3340; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer ceo0skenysx8qxr7433zhovoa20ak2
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "618"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"[\n {\n \"id\": 3340,\n \"aggregated_rating\": 90.0,\n \"alternative_names\":
|
||||
[\n {\n \"id\": 39105,\n \"name\": \"Zhi Pian Mario\"\n
|
||||
\ },\n {\n \"id\": 51791,\n \"name\": \"\u30DE\u30EA\u30AA\u30B9\u30C8\u30FC\u30EA\u30FC\"\n
|
||||
\ },\n {\n \"id\": 51792,\n \"name\": \"\u7EB8\u7247\u9A6C\u91CC\u5965\"\n
|
||||
\ },\n {\n \"id\": 78718,\n \"name\": \"Mario Story\"\n
|
||||
\ },\n {\n \"id\": 88088,\n \"name\": \"Super Mario
|
||||
RPG 2\"\n },\n {\n \"id\": 119107,\n \"name\": \"\u7EB8\u7247\u9A6C\u529B\u6B27\"\n
|
||||
\ },\n {\n \"id\": 137285,\n \"name\": \"\uD398\uC774\uD37C
|
||||
\uB9C8\uB9AC\uC624\"\n }\n ],\n \"artworks\": [\n {\n \"id\":
|
||||
73649,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/ar1ktt.jpg\"\n
|
||||
\ }\n ],\n \"cover\": {\n \"id\": 80830,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/co1qda.jpg\"\n
|
||||
\ },\n \"external_games\": [\n {\n \"id\": 138931,\n \"category\":
|
||||
3,\n \"uid\": \"19929\"\n },\n {\n \"id\": 245769,\n
|
||||
\ \"category\": 14,\n \"uid\": \"18231\"\n },\n {\n
|
||||
\ \"id\": 1931441,\n \"category\": 20,\n \"uid\": \"B01BLAWHKI\"\n
|
||||
\ },\n {\n \"id\": 1931588,\n \"category\": 20,\n \"uid\":
|
||||
\"B003ZDOH3K\"\n },\n {\n \"id\": 1933352,\n \"category\":
|
||||
20,\n \"uid\": \"B009LUDMJQ\"\n }\n ],\n \"first_release_date\":
|
||||
965952000,\n \"franchises\": [\n {\n \"id\": 845,\n \"name\":
|
||||
\"Mario\"\n }\n ],\n \"game_modes\": [\n {\n \"id\":
|
||||
1,\n \"name\": \"Single player\"\n }\n ],\n \"genres\":
|
||||
[\n {\n \"id\": 12,\n \"name\": \"Role-playing (RPG)\"\n
|
||||
\ },\n {\n \"id\": 16,\n \"name\": \"Turn-based strategy
|
||||
(TBS)\"\n },\n {\n \"id\": 31,\n \"name\": \"Adventure\"\n
|
||||
\ }\n ],\n \"involved_companies\": [\n {\n \"id\": 148214,\n
|
||||
\ \"company\": {\n \"id\": 70,\n \"name\": \"Nintendo\"\n
|
||||
\ }\n },\n {\n \"id\": 148215,\n \"company\":
|
||||
{\n \"id\": 765,\n \"name\": \"Intelligent Systems Co.,
|
||||
Ltd.\"\n }\n },\n {\n \"id\": 225578,\n \"company\":
|
||||
{\n \"id\": 5163,\n \"name\": \"iQue\"\n }\n },\n
|
||||
\ {\n \"id\": 225579,\n \"company\": {\n \"id\":
|
||||
812,\n \"name\": \"Gradiente\"\n }\n }\n ],\n \"name\":
|
||||
\"Paper Mario\",\n \"platforms\": [\n {\n \"id\": 4,\n \"name\":
|
||||
\"Nintendo 64\"\n },\n {\n \"id\": 5,\n \"name\":
|
||||
\"Wii\"\n },\n {\n \"id\": 41,\n \"name\": \"Wii U\"\n
|
||||
\ }\n ],\n \"player_perspectives\": [\n {\n \"id\":
|
||||
2,\n \"name\": \"Third person\"\n },\n {\n \"id\":
|
||||
4,\n \"name\": \"Side view\"\n }\n ],\n \"screenshots\":
|
||||
[\n {\n \"id\": 24167,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/a5r3k2lf3lgvifrycqeg.jpg\"\n
|
||||
\ },\n {\n \"id\": 24168,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/hdxgs9nruycvrzcgvseu.jpg\"\n
|
||||
\ },\n {\n \"id\": 24169,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/ig9ainu9fershqdinox1.jpg\"\n
|
||||
\ },\n {\n \"id\": 24170,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/jz66se3deczeta6hd4ys.jpg\"\n
|
||||
\ },\n {\n \"id\": 24171,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/kjnf90jnud6njmwto3th.jpg\"\n
|
||||
\ }\n ],\n \"similar_games\": [\n {\n \"id\": 358,\n
|
||||
\ \"name\": \"Super Mario Bros.\"\n },\n {\n \"id\":
|
||||
660,\n \"name\": \"Darkstone\"\n },\n {\n \"id\":
|
||||
1026,\n \"name\": \"The Legend of Zelda: A Link to the Past\"\n },\n
|
||||
\ {\n \"id\": 1035,\n \"name\": \"The Legend of Zelda: The
|
||||
Minish Cap\"\n },\n {\n \"id\": 1068,\n \"name\":
|
||||
\"Super Mario Bros. 3\"\n },\n {\n \"id\": 1280,\n \"name\":
|
||||
\"Breath of Fire IV\"\n },\n {\n \"id\": 2148,\n \"name\":
|
||||
\"Banjo-Kazooie\"\n },\n {\n \"id\": 3349,\n \"name\":
|
||||
\"Paper Mario: The Thousand-Year Door\"\n },\n {\n \"id\":
|
||||
3351,\n \"name\": \"Mario \\u0026 Luigi: Superstar Saga\"\n },\n
|
||||
\ {\n \"id\": 22387,\n \"name\": \"Legrand Legacy\"\n }\n
|
||||
\ ],\n \"slug\": \"paper-mario\",\n \"summary\": \"Paper Mario, a
|
||||
turn-based JRPG entry in the Mario franchise with a paper-based aesthetic
|
||||
and platforming elements, sees the titular character working his way through
|
||||
the Mushroom Kingdom\\u0027s diverse locales and biomes, meeting its inhabitants,
|
||||
fighthing unruly enemies and recruiting an array of companions in order to
|
||||
once again save Princess Peach from the clutches of the evil Koopa King Bowser.\",\n
|
||||
\ \"total_rating\": 88.63944908765737,\n \"language_supports\": [\n {\n
|
||||
\ \"id\": 473450,\n \"language\": {\n \"id\": 3,\n \"name\":
|
||||
\"Chinese (Traditional)\"\n }\n },\n {\n \"id\": 473451,\n
|
||||
\ \"language\": {\n \"id\": 7,\n \"name\": \"English\"\n
|
||||
\ }\n },\n {\n \"id\": 473452,\n \"language\":
|
||||
{\n \"id\": 16,\n \"name\": \"Japanese\"\n }\n },\n
|
||||
\ {\n \"id\": 492896,\n \"language\": {\n \"id\":
|
||||
12,\n \"name\": \"French\"\n }\n },\n {\n \"id\":
|
||||
492897,\n \"language\": {\n \"id\": 27,\n \"name\":
|
||||
\"German\"\n }\n },\n {\n \"id\": 492898,\n \"language\":
|
||||
{\n \"id\": 9,\n \"name\": \"Spanish (Spain)\"\n }\n
|
||||
\ }\n ],\n \"collections\": [\n {\n \"id\": 240,\n \"name\":
|
||||
\"Super Mario\"\n },\n {\n \"id\": 593,\n \"name\":
|
||||
\"Paper Mario\"\n }\n ]\n }\n]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a953d2e248a-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Length:
|
||||
- "1538"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:40 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=I3ULXMXIRc9niNoF9127GN_3tb_aWxph2N5i5_LrML8-1707128380-1-AfW1VNAvLTYI3QURGvTG83fjvlSRRa99K6dhpnpOS0pViyfEpSvsk2jxiAiKWWF+lsB8q8/savmBm7DaCBhr/34=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:40 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 c8710a117c1dfdaea4e9dfc4d41970d2.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- ftLhsJz_oLi5B0FNeIaHkyKYD3U8DNwYykc0593NuTl0XHnCDkXVBQ==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "1"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFpZHWLvHcEEqA=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "1538"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:40 GMT
|
||||
x-amzn-RequestId:
|
||||
- 9d50d306-4874-4022-af53-561acccaebcf
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body:
|
||||
fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where id=-1; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer test_token
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "616"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
|
||||
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
|
||||
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
|
||||
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
|
||||
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
|
||||
\ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6a986dd36c85-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "437"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:40 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=vWbMOoecKcFzu1pxWgKRUj2pC7f_ICwMPigG6vgpKFo-1707128380-1-AUt6CoXg6VpkhCmOf/kGjGXOHufqqUkmQpKQ83kCEhfx3Wd2GUlkYcmezfHtxdI1S5EdJvu/B2YTt6M2XxD8PnQ=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:40 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 4ca98b546b8d71c72caf6a3d8f75dc24.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- NIVmSftyAB5e8PNtAgeLb8_rzIBpT7_JInx8oV65go9Is7xuzmpBqA==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Error from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFphGNKvHcEfAg=
|
||||
x-amzn-ErrorType:
|
||||
- AccessDeniedException
|
||||
x-amzn-RequestId:
|
||||
- a44b029e-591b-4eac-bb86-c787a013b33b
|
||||
status:
|
||||
code: 401
|
||||
message: Unauthorized
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- "*/*"
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "0"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
|
||||
response:
|
||||
body:
|
||||
string:
|
||||
'{"access_token":"97xbg8dxzst4sifbgrg6k4h0sy4sv2","expires_in":5647856,"token_type":"bearer"}
|
||||
|
||||
'
|
||||
headers:
|
||||
Access-Control-Allow-Origin:
|
||||
- "*"
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "93"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:41 GMT
|
||||
Server:
|
||||
- nginx
|
||||
X-Ctxlog-Logid:
|
||||
- 1-65c0b63d-349b7d5762fd9bdf2dae9570
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body:
|
||||
fields id,name,slug,summary,total_rating,aggregated_rating,genres.name,alternative_names.name,artworks.url,cover.url,screenshots.url,franchise.name,franchises.name,collections.name,expansions.name,expansions.slug,expansions.cover.url,expanded_games.name,expanded_games.cover.url,dlcs.name,dlcs.slug,dlcs.cover.url,remakes.name,remakes.cover.url,remasters.name,remasters.cover.url,involved_companies.company.name,platforms.name,first_release_date,game_modes.name,player_perspectives.name,ports.name,similar_games.name,language_supports.language.name,external_games.uid,external_games.category;
|
||||
where id=-1; limit 200;
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Authorization:
|
||||
- Bearer 97xbg8dxzst4sifbgrg6k4h0sy4sv2
|
||||
Client-ID:
|
||||
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "616"
|
||||
User-Agent:
|
||||
- python-requests/2.31.0
|
||||
method: POST
|
||||
uri: https://api.igdb.com/v4/games
|
||||
response:
|
||||
body:
|
||||
string: "[]"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 850a6aa46d29248a-ZAG
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- "2"
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 05 Feb 2024 10:19:42 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=GBFFIgTMk119j.gLCnb7xhBRhJ7E3I1IwU6AhAEWVBI-1707128382-1-ARYE0aU8jHa5mcAGG1zqxoFza2uHyJTziSBFJPq4fb4PsXKUAmgCbn2HFubH4DQxWx5bDXH2nk0q+fw2lOYOAVY=;
|
||||
path=/; expires=Mon, 05-Feb-24 10:49:42 GMT; domain=.igdb.com; HttpOnly; Secure;
|
||||
SameSite=None
|
||||
Strict-Transport-Security:
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
Via:
|
||||
- 1.1 c8710a117c1dfdaea4e9dfc4d41970d2.cloudfront.net (CloudFront)
|
||||
X-Amz-Cf-Id:
|
||||
- Xb4nOz10hCXyDhxzTn-oY-Orl6J6kscPVnWX_1pwj2mDjRNa6TGfaA==
|
||||
X-Amz-Cf-Pop:
|
||||
- VIE50-C2
|
||||
X-Cache:
|
||||
- Miss from cloudfront
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Count:
|
||||
- "0"
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
x-amz-apigw-id:
|
||||
- SqFp0HBaPHcEsDw=
|
||||
x-amzn-Remapped-Content-Length:
|
||||
- "2"
|
||||
x-amzn-Remapped-Date:
|
||||
- Mon, 05 Feb 2024 10:19:42 GMT
|
||||
x-amzn-RequestId:
|
||||
- 134a8022-0def-4111-9d61-5683fa7a89c2
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
version: 1
|
||||
22
poetry.lock
generated
22
poetry.lock
generated
@@ -1717,19 +1717,23 @@ pytest = ">=6.2.5"
|
||||
dev = ["pre-commit", "pytest-asyncio", "tox"]
|
||||
|
||||
[[package]]
|
||||
name = "pytest-vcr"
|
||||
version = "1.0.2"
|
||||
description = "Plugin for managing VCR.py cassettes"
|
||||
name = "pytest-recording"
|
||||
version = "0.13.2"
|
||||
description = "A pytest plugin that allows you recording of network interactions via VCR.py"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
python-versions = ">=3.7"
|
||||
files = [
|
||||
{file = "pytest-vcr-1.0.2.tar.gz", hash = "sha256:23ee51b75abbcc43d926272773aae4f39f93aceb75ed56852d0bf618f92e1896"},
|
||||
{file = "pytest_vcr-1.0.2-py2.py3-none-any.whl", hash = "sha256:2f316e0539399bea0296e8b8401145c62b6f85e9066af7e57b6151481b0d6d9c"},
|
||||
{file = "pytest_recording-0.13.2-py3-none-any.whl", hash = "sha256:3820fe5743d1ac46e807989e11d073cb776a60bdc544cf43ebca454051b22d13"},
|
||||
{file = "pytest_recording-0.13.2.tar.gz", hash = "sha256:000c3babbb466681457fd65b723427c1779a0c6c17d9e381c3142a701e124877"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
pytest = ">=3.6.0"
|
||||
vcrpy = "*"
|
||||
pytest = ">=3.5.0"
|
||||
vcrpy = ">=2.0.1"
|
||||
|
||||
[package.extras]
|
||||
dev = ["pytest-httpbin", "pytest-mock", "requests", "werkzeug (==3.0.3)"]
|
||||
tests = ["pytest-httpbin", "pytest-mock", "requests", "werkzeug (==3.0.3)"]
|
||||
|
||||
[[package]]
|
||||
name = "python-dateutil"
|
||||
@@ -2823,4 +2827,4 @@ multidict = ">=4.0"
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.11"
|
||||
content-hash = "14e7f9efeb7e1dac6acd66ed74dffa914ed4fcc3a4fc44dbcd87b96f3779b9c0"
|
||||
content-hash = "743c70f463d5596bd9b312368e166ef3a65b1d3aafbf51b4fc3f3e033446d845"
|
||||
|
||||
@@ -48,9 +48,9 @@ certifi = "2024.07.04"
|
||||
fakeredis = "^2.21.3"
|
||||
pytest = "^8.1.1"
|
||||
pytest-env = "^1.1.3"
|
||||
pytest-vcr = "^1.0.2"
|
||||
pytest-mock = "^3.12.0"
|
||||
pytest-asyncio = "^0.23.5"
|
||||
pytest-recording = "^0.13"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
ipdb = "^0.13.13"
|
||||
|
||||
Reference in New Issue
Block a user