fixed unit tests

This commit is contained in:
Zurdi
2024-01-19 15:10:01 +01:00
parent e231d1b73e
commit 720a9617bc
8 changed files with 704 additions and 136 deletions

View File

View File

@@ -23,6 +23,8 @@ exclude:
system:
platforms:
gc: 'ngc'
versions:
naomi: 'arcade'
filesystem:
roms_folder: 'ROMS'

View File

View File

@@ -6,7 +6,7 @@ from config.config_manager import ConfigManager
def test_config_loader():
loader = ConfigManager(
os.path.join(Path(__file__).resolve().parent, "fixtures", "config.yml")
os.path.join(Path(__file__).resolve().parent, "fixtures", "config/config.yml")
)
assert loader.config.EXCLUDED_PLATFORMS == ["romm"]
@@ -16,6 +16,7 @@ def test_config_loader():
assert loader.config.EXCLUDED_MULTI_PARTS_EXT == ["txt"]
assert loader.config.EXCLUDED_MULTI_PARTS_FILES == ["data.xml"]
assert loader.config.PLATFORMS_BINDING == {"gc": "ngc"}
assert loader.config.PLATFORMS_VERSIONS == {"naomi": "arcade"}
assert loader.config.ROMS_FOLDER_NAME == "ROMS"
assert loader.config.SAVES_FOLDER_NAME == "SAVES"
assert loader.config.STATES_FOLDER_NAME == "STATES"
@@ -23,7 +24,7 @@ def test_config_loader():
def test_empty_config_loader():
loader = ConfigManager("")
loader = ConfigManager("config/empty_config.yml")
assert loader.config.EXCLUDED_PLATFORMS == []
assert loader.config.EXCLUDED_SINGLE_EXT == []
@@ -32,6 +33,7 @@ def test_empty_config_loader():
assert loader.config.EXCLUDED_MULTI_PARTS_EXT == []
assert loader.config.EXCLUDED_MULTI_PARTS_FILES == []
assert loader.config.PLATFORMS_BINDING == {}
assert loader.config.PLATFORMS_VERSIONS == {}
assert loader.config.ROMS_FOLDER_NAME == "roms"
assert loader.config.SAVES_FOLDER_NAME == "saves"
assert loader.config.STATES_FOLDER_NAME == "states"

View File

@@ -280,7 +280,7 @@ class IGDBHandler:
)
version = pydash.get(platform_versions, "[0]", None)
if not version:
return IGDBPlatform(igdb_id=None, igdb_id_base_platform=None, name=slug.replace("-", " ").title())
return IGDBPlatform(igdb_id=None, name=slug.replace("-", " ").title())
return IGDBPlatform(
igdb_id=version["id"],

View File

@@ -7,7 +7,114 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Bearer test_token
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- '34'
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:
- 847f78ab4a7a5aa7-VIE
Connection:
- keep-alive
Content-Length:
- '437'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:16 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=ZVbN2keB5NG5FaeoRyKaEvTQBmMdm6YLBvSWV5NgLKQ-1705671436-1-Aag20MSVQtClvha5FrIikBY1ZlgjwbLC9Gww0y/AREeyexQsUS7ppX9MgAzkE1IuM9uki15DGzUjl0+uJQYwXkE=;
path=/; expires=Fri, 19-Jan-24 14:07:16 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 ba761cfda8bfa6cbda2b6c433d6201f6.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- XecUo2xyRCkspvzhpxmMVNSXlvTjAnDL7NiycL747Ev0-SMhNnAUJA==
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:
- Rygp8FT2PHcEUiw=
x-amzn-ErrorType:
- AccessDeniedException
x-amzn-RequestId:
- 95bd8829-ef4f-4432-bd7d-9ccaf436f56a
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":"88ukw5q2sqlhctxykq8s8t97iql9yo","expires_in":5080333,"token_type":"bearer"}
'
headers:
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '93'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:17 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-65aa7b0d-4fe3b6b5219e294d30e2f68a
status:
code: 200
message: OK
- request:
body: fields id, name; where slug="n64";
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_token
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -25,7 +132,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7f126a00ff5536ff-YYZ
- 847f78b57cc05ad1-VIE
Connection:
- keep-alive
Content-Encoding:
@@ -33,23 +140,23 @@ interactions:
Content-Type:
- application/json
Date:
- Thu, 03 Aug 2023 23:41:55 GMT
- Fri, 19 Jan 2024 13:37:18 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=YSU1kOOYgk2sBN2rEWxDlKrslGRW1UpK8RnA6l.zKh4-1691106115-0-AaN052HbCUAYRaiWZZWlUTi/7cT0S9NbwQ7OwjzwmE/heOVqTfhFSJlTsFv6KbnQWd7RDcWEQI1EyCpeYesnUG4=;
path=/; expires=Fri, 04-Aug-23 00:11:55 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=FUiEglz.RknY_2kFXKZpmx2WDCOZK3knWG44mWNZju0-1705671438-1-Aaizw6VrbK0SXWkYd2ivuE6KDp9ZHMMKSevd2n0+A4vebUcoB0Sk0zML1IaS33GzxKun+KPo+5Vq0IXAG2z/7f8=;
path=/; expires=Fri, 19-Jan-24 14:07:18 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
Via:
- 1.1 9b4f2014232c90b3056e1fb1e00215fc.cloudfront.net (CloudFront)
- 1.1 a5feee427fe9cff4e87dc473d3d3e300.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- xhnv8ARLgZZoWZOYNyOKw2R9eORp9S7ZCmmvwShks2vAttJzZ_5eLA==
- UxH9BKAeSFcfhHV3VfJu_4LeorACi_x0NrDp2ACA5SDfnWqYSEvZEA==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -59,13 +166,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- JG4yfEnzPHcF9xQ=
- RygqPEL5PHcESbg=
x-amzn-Remapped-Content-Length:
- '50'
x-amzn-Remapped-Date:
- Thu, 03 Aug 2023 23:41:54 GMT
- Fri, 19 Jan 2024 13:37:18 GMT
x-amzn-RequestId:
- 86e7521f-07de-4725-93ae-5945991b2f80
- 81a7c41d-ba91-4740-b50f-01750f498682
status:
code: 200
message: OK
@@ -77,7 +184,114 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Bearer test_token
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- '39'
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:
- 847f78baabe25acf-VIE
Connection:
- keep-alive
Content-Length:
- '437'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:18 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=YzByNhOv.HvkvnHbwnntOLv56C7mh5R4WUmK061VZm0-1705671438-1-Ac+kZrgAttx0RTFabeaWmCVW53EoQxrWKNk0K+i63+ub/zdYYNyXdJcLN3LYN1jwVDiGbsmdZ1V8Ngn7NO+PAgg=;
path=/; expires=Fri, 19-Jan-24 14:07:18 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 659e81bfffb15e4b314a9b12d4db8946.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- rypdWtoibbAHhuaeJiMf2lEVNZJa3cVDhUfzudW6JJTg2rEEAx4HFw==
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:
- RygqVFdIvHcEn1Q=
x-amzn-ErrorType:
- AccessDeniedException
x-amzn-RequestId:
- cfd88163-e5bb-4107-9244-711fb1aa034c
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":"l3btktkckysdzd6zlb314x4x32yna8","expires_in":5407872,"token_type":"bearer"}
'
headers:
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '93'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:20 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-65aa7b10-745ccbbb55318a497e4c24ab
status:
code: 200
message: OK
- request:
body: fields id, name; where slug="not-real";
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer l3btktkckysdzd6zlb314x4x32yna8
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -95,7 +309,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7f126a033dfe36d6-YYZ
- 847f78c9286b5abb-VIE
Connection:
- keep-alive
Content-Length:
@@ -103,21 +317,21 @@ interactions:
Content-Type:
- application/json
Date:
- Thu, 03 Aug 2023 23:41:55 GMT
- Fri, 19 Jan 2024 13:37:21 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=C15lGKF9M7qAs3MgWG1Rdg1BBgoNTkXUtiHaTYm2.No-1691106115-0-AcXlYwi9KvmsVhZSGfPc+8QFPyJ8l75AmoGU1uIc08UsxgCqA0ebf/joGzEFDgKANOycFOVnm4SD0FBPe79QJIA=;
path=/; expires=Fri, 04-Aug-23 00:11:55 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=xJLCTNTRq9k6whzqynMFRRJli_Gjt1faJWfx.Ae1gvI-1705671441-1-AWU/X5sIGRg6L6Iw62fVfPdsA5uzMFgdLIUsuWqRC1AzNlqv4cVjhimnBRYwzVHWziwMXa+Hex+8SShophh698I=;
path=/; expires=Fri, 19-Jan-24 14:07:21 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 b17b94cbc6db5cb82e8f8d6e55e1e85a.cloudfront.net (CloudFront)
- 1.1 8ce530783de74227d43f4646291541dc.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- lssR6fbnPthIZ3KymDK4XGpoy79m63sp3YG3feOCNlerg3MlqgSjMw==
- _V6x0Awmk0Xy12bWXipk8jF0Ce36ltBLkCfY7oGA3aojB5qIOV5QBw==
X-Amz-Cf-Pop:
- YTO50-P1
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -127,13 +341,81 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- JG4yiHcZPHcFydQ=
- RygqsH6rvHcEIlg=
x-amzn-Remapped-Content-Length:
- '2'
x-amzn-Remapped-Date:
- Thu, 03 Aug 2023 23:41:55 GMT
- Fri, 19 Jan 2024 13:37:21 GMT
x-amzn-RequestId:
- c4d171c7-91fb-4587-a7d4-2417fab3f265
- c458910c-6008-4a3f-87f5-f4158bedd84b
status:
code: 200
message: OK
- request:
body: fields id, name; where slug="not-real";
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer l3btktkckysdzd6zlb314x4x32yna8
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- '39'
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:
- 847f78ccaac55a9e-VIE
Connection:
- keep-alive
Content-Length:
- '2'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:21 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=G0tXKWtqGd.9I..1t5lxG6DQ1nTRcGJbXdPYV6oGr3I-1705671441-1-AZ82dbWtoyJTcgJKrAWOZ4rKukiH6JfCsSdKicQvdo4WT+lxkNOCtbpeVo8nYRPNtVEvURBUsFEzESxIDfR0d+s=;
path=/; expires=Fri, 19-Jan-24 14:07:21 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 95c9d51ed7176777d7ac8ca8cb233696.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- PLKO6r61VkL3kdn0oN0HnPKcMksqzV6itTEOJtaZ21tEZPsw_AxOqA==
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:
- RygqxF-JvHcEhbQ=
x-amzn-Remapped-Content-Length:
- '2'
x-amzn-Remapped-Date:
- Fri, 19 Jan 2024 13:37:21 GMT
x-amzn-RequestId:
- 9702c7c2-606e-4e08-82af-70e7841e46b6
status:
code: 200
message: OK

View File

@@ -31,7 +31,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1def59b553ef-YYZ
- 847f78d01d945a68-VIE
Connection:
- keep-alive
Content-Length:
@@ -39,21 +39,21 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:09 GMT
- Fri, 19 Jan 2024 13:37:22 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=UaS11VA2fB8atCFOx97aBLqoxkRUnsy_5rrNYIL3YoU-1704482829-1-AdzDyNg7l51RyROpA43PUQnVRrzVRtMP8CRdttBmqJFmha5lAkwAgZnY4Ph2NBm43oQ71fP5Tz8xSl3SeV4jfT4=;
path=/; expires=Fri, 05-Jan-24 19:57:09 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=_kOPxK15YR4iSYKsjblu8SJOiLI70wgQ7FOjvG27hXg-1705671442-1-ATULcbeLOsS/i3DKSecQWlBxz2qoIs0gw2ebsjEKw9Qmdq7dPp9HPCySt3FZZ8vM9LwXzxP93ox0QrXt++SJjow=;
path=/; expires=Fri, 19-Jan-24 14:07:22 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 f7da5d3db9ee44e1812f138a4bdfd564.cloudfront.net (CloudFront)
- 1.1 530e9f4b5e6084726110986459f0c18c.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- cY3sSQbEy2b71uGVJZ8qt0KgtzDfyrJqc8WVhXjxCfPiztfGVWglGg==
- pLEOGpTtK4jBKry42XQ0jEFNtFMclP5_qTaPiyYCe9AtvesKjCKsxA==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Error from cloudfront
X-Content-Type-Options:
@@ -61,11 +61,11 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKyDFjYPHcEgLw=
- Rygq3HrsPHcEaRA=
x-amzn-ErrorType:
- AccessDeniedException
x-amzn-RequestId:
- 4db631d7-10ca-4505-99b0-000e64fab321
- 572a740f-87ce-45c6-9096-fb30c9a03540
status:
code: 401
message: Unauthorized
@@ -86,7 +86,7 @@ interactions:
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
response:
body:
string: '{"access_token":"ycmxc7vv0hesse6mjvg9hium4iku9s","expires_in":4762653,"token_type":"bearer"}
string: '{"access_token":"3oeeqb3l2oufuidp79c708gr8xwseh","expires_in":4828909,"token_type":"bearer"}
'
headers:
@@ -99,11 +99,11 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:09 GMT
- Fri, 19 Jan 2024 13:37:23 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-6598580d-72814aa35ddb1dba5cc27010
- 1-65aa7b13-233b8db24633d23a3759fe1a
status:
code: 200
message: OK
@@ -116,7 +116,7 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer ycmxc7vv0hesse6mjvg9hium4iku9s
- Bearer 3oeeqb3l2oufuidp79c708gr8xwseh
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -134,7 +134,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1df61ff9a1e4-YYZ
- 847f78da1a425a71-VIE
Connection:
- keep-alive
Content-Length:
@@ -142,21 +142,21 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:10 GMT
- Fri, 19 Jan 2024 13:37:23 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=cBz3M1IzatwlfWTrENffjuZWUox3KdMY_ruN2OU8nT0-1704482830-1-AfBxgPXgQ/M/YsHGDYtUnb3VK8BHBhrI5of44hGUBp+KE03mKP2SH/Ui+s/O3vbcAmwr5cQdKCi7wvrP3MPpkL0=;
path=/; expires=Fri, 05-Jan-24 19:57:10 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=Lffs3gVHrcwjJ6hL6ckCIs8r6IEDWRKiDUjFBzPpAi8-1705671443-1-AbmAvDmsKM6FBdoFkxdaqZNV1FWdU4vpfpXwmHnEtQTRj36l9XYcgEX31cUIILCy1pzmZmoau5TITEZC8zly1sM=;
path=/; expires=Fri, 19-Jan-24 14:07:23 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 5fa5e473f638d77357bb0fccef4ca526.cloudfront.net (CloudFront)
- 1.1 a5feee427fe9cff4e87dc473d3d3e300.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- mNE9nHzWA6zBTPOM0rq4pQC4IyRVgWBPIx7HGN6u8T8nv7cZLq5ZPg==
- vtfHJv1IXrt9dg17XtXAmCuFDqNmKO4bPK36DAcLWTpH6eXpFSSkOQ==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -166,13 +166,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKyNFyyvHcEKyA=
- RygrHHLzPHcETeg=
x-amzn-Remapped-Content-Length:
- '2'
x-amzn-Remapped-Date:
- Fri, 05 Jan 2024 19:27:10 GMT
- Fri, 19 Jan 2024 13:37:23 GMT
x-amzn-RequestId:
- ea9517b3-ad01-416d-99dd-7a9a73868337
- ba00326d-56b5-4cdb-b381-890914f1f05d
status:
code: 200
message: OK
@@ -186,7 +186,7 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer ycmxc7vv0hesse6mjvg9hium4iku9s
- Bearer 3oeeqb3l2oufuidp79c708gr8xwseh
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -204,7 +204,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1df959f8a21d-YYZ
- 847f78dd1db35a44-VIE
Connection:
- keep-alive
Content-Length:
@@ -212,21 +212,21 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:10 GMT
- Fri, 19 Jan 2024 13:37:24 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=QiozKIK2Ap6T3BMS1.zFk9IfLGmrgDQV4tCC4mR5aVA-1704482830-1-AXm8pPyNZPolOcXxd2oXAtP/fZ+y+rwS2hHZL1ntRcWSpXMEmy3diGuqtZ61HzvH41ztaO0YBXA289em+GBAAV4=;
path=/; expires=Fri, 05-Jan-24 19:57:10 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=iQnfUHnJ5Ufwghyc7Mm8sOgaOSZXRSYGaWZr4jTRHSQ-1705671444-1-AQbNaTR4aNsOi4yogVUgsiwupAoF0THdvbLswX0npqkvUTeXK2C1z7Oyd1fm+0wIg9cCA5ChNoZyUPn/CKOJ/0g=;
path=/; expires=Fri, 19-Jan-24 14:07:24 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 22068bada9db7a55ac57b9824fe6f9b4.cloudfront.net (CloudFront)
- 1.1 95c9d51ed7176777d7ac8ca8cb233696.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- vLFpUC9iRNUiBqE1P5BNBSEmzpZpYdY92TXSUGZ8tH-Zpc7AO13Kww==
- uCtbRR46oep4gC4Vadv3RRw6Q2XNTXk3dYWketup8W-TqncGpBZ-pA==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -236,13 +236,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKyTG7HPHcEpug=
- RygrPE0yPHcEcZQ=
x-amzn-Remapped-Content-Length:
- '2'
x-amzn-Remapped-Date:
- Fri, 05 Jan 2024 19:27:10 GMT
- Fri, 19 Jan 2024 13:37:24 GMT
x-amzn-RequestId:
- de9b5cba-2134-42cb-b13a-d0886acde238
- dd57905d-8c5f-4c16-967b-0430b37bbdb6
status:
code: 200
message: OK
@@ -255,7 +255,7 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer ycmxc7vv0hesse6mjvg9hium4iku9s
- Bearer 3oeeqb3l2oufuidp79c708gr8xwseh
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -273,7 +273,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1dfc9aa236c3-YYZ
- 847f78e21ea86c86-ZAG
Connection:
- keep-alive
Content-Length:
@@ -281,21 +281,21 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:11 GMT
- Fri, 19 Jan 2024 13:37:25 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=NmMjWGx_xEiiM1uaWbgA84EAXUBTNmuTz9ZbInymZ00-1704482831-1-AXNxQ3/n3pxXz7JDMQBCqUGP1kl/TA0WSkLvOGP9Casw5j1J9WLw6zbPg/CqUntFGmZlIZrnJ1xFi1aJSlm1Ps8=;
path=/; expires=Fri, 05-Jan-24 19:57:11 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=_16d8qit0KtY.bR8s7LswAB3jHn0M184DpZdm1hHWT4-1705671445-1-AQDCn8JjNm55+Uk8KPbFj2OG7QyU3PN/Hf5mIlIFVmUEGrODJxqNFVDTM6xw4XccrUp4YN8vTIEx3E3sZVludNo=;
path=/; expires=Fri, 19-Jan-24 14:07:25 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 8422f3871db2552d4ad0cc9f31e22c2e.cloudfront.net (CloudFront)
- 1.1 a5feee427fe9cff4e87dc473d3d3e300.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- nNG-gTaYCZ5rpsGaE9w0Q6W7n0Zcgas_ijV_07HttzgZRJvFgewDyA==
- WNetlDy__DbtmH_i_bvOd0dLp0H6HN1fcv3YU3gGHaLU3-sD7XcJYw==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -305,13 +305,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKyZFsMvHcEs2A=
- RygrUE0VPHcERRQ=
x-amzn-Remapped-Content-Length:
- '2'
x-amzn-Remapped-Date:
- Fri, 05 Jan 2024 19:27:11 GMT
- Fri, 19 Jan 2024 13:37:25 GMT
x-amzn-RequestId:
- bda8994c-74ff-40b9-946b-5c291feba36c
- 9a70e744-3429-4b96-985a-92744d5be3cf
status:
code: 200
message: OK
@@ -348,7 +348,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1dffcff87119-YYZ
- 847f78e54989c208-ZAG
Connection:
- keep-alive
Content-Length:
@@ -356,21 +356,21 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:11 GMT
- Fri, 19 Jan 2024 13:37:25 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=08u9u5ApvfMie_jqiDNmXs9WL4bHaapgSVqf2xT_mLg-1704482831-1-AfJfmqIEV831rLFDaZg0D4C4D31H8oSfMR9ecWO7NIQo8pbw6LzbVBjWBZq6ryV3t/yGLxXtDjKMLnWifUaN4Bo=;
path=/; expires=Fri, 05-Jan-24 19:57:11 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=FtIGhsjzYIIsehRUwdXgO1EsNvVm9BV4Jga_ZE4zqCM-1705671445-1-AehcRuRferKqtUCpChjQegd40BjDxduRFP4jXFWhUXW6OuH5/ApuWVj3+c6dawoyNNAFY35q46Eq0GIW8daV7KU=;
path=/; expires=Fri, 19-Jan-24 14:07:25 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 144825e0e5f4523d1f7ce8c9b62cd908.cloudfront.net (CloudFront)
- 1.1 4e3b2e1fa2acb7612ea516b89c06af70.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- oeRw1015Xc3mSJUL7mrLuCKk9m_myM3RDMip_0iodK7uFY32s66BwA==
- omwvkATR8iV09kN8O3NTlC0I1-CdoeaXzdyDNzgx0RgwM5pFcGjv1A==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Error from cloudfront
X-Content-Type-Options:
@@ -378,11 +378,11 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKyeGWhvHcEPug=
- RygrZFygvHcEO0A=
x-amzn-ErrorType:
- AccessDeniedException
x-amzn-RequestId:
- e8572348-415f-48ea-b3fa-15643a26b6f4
- bdad4265-3048-46fb-b293-a5da8889d32d
status:
code: 401
message: Unauthorized
@@ -403,7 +403,7 @@ interactions:
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
response:
body:
string: '{"access_token":"9vv70shduosepkqte323j2sk7e5l16","expires_in":5478750,"token_type":"bearer"}
string: '{"access_token":"wey0sj7h4jksp02joebheczbjkxw0y","expires_in":5202483,"token_type":"bearer"}
'
headers:
@@ -416,11 +416,11 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:12 GMT
- Fri, 19 Jan 2024 13:37:26 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-65985810-32ff685c334e1d562685f667
- 1-65aa7b16-4159a84625a1bec276e5fc0f
status:
code: 200
message: OK
@@ -434,7 +434,7 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer 9vv70shduosepkqte323j2sk7e5l16
- Bearer wey0sj7h4jksp02joebheczbjkxw0y
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -530,7 +530,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1e062e8839f9-YYZ
- 847f78efcac45a4a-VIE
Connection:
- keep-alive
Content-Encoding:
@@ -540,21 +540,21 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:12 GMT
- Fri, 19 Jan 2024 13:37:27 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=SBQ0hfeNWLeVDi9u25Ycqjy0_y_lVOlQ6RUoOXpoUvE-1704482832-1-AX8irnnXyf/2o19KeyDM46YduN9meO/Qdwu0d/tDbrrtqL6M1ExPQqPN4J9DMGR9e6Gh2JtAV0DZTn8wlCe5B5E=;
path=/; expires=Fri, 05-Jan-24 19:57:12 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=8b3MbRlUf_cXtQrYJZGHA3rMoQ7VDbYZ1wS4NEK5.UQ-1705671447-1-AesmmpdP/BC2aBdD44z+9isv4H0hK8t+yU75PyJuCQdNvuheaDZBqD3IG4NUMh/yECYi4HHawzZSWJAMhYyO0rM=;
path=/; expires=Fri, 19-Jan-24 14:07:27 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 f7da5d3db9ee44e1812f138a4bdfd564.cloudfront.net (CloudFront)
- 1.1 a4035907ac3c3ba8d1fd116b6b6b9a4c.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- 4QRv9SqNlv9c1l6rJlzTPHUwAvsoje8ZHFOL381FA2S-mPfChjzv7Q==
- WatxWH8uFhodIzj0McFJCYImtw9ehM7P8G2vz_qaWGi4q7WsT2E_Sw==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -564,13 +564,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKyoFdtPHcENCA=
- RygrqF3rvHcEnpg=
x-amzn-Remapped-Content-Length:
- '2424'
x-amzn-Remapped-Date:
- Fri, 05 Jan 2024 19:27:12 GMT
- Fri, 19 Jan 2024 13:37:27 GMT
x-amzn-RequestId:
- 1725c117-1e0b-4617-aaa3-e28514f91fc5
- a17b1636-e8a9-40be-9c91-35379f66eb7d
status:
code: 200
message: OK
@@ -582,7 +582,7 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer 9vv70shduosepkqte323j2sk7e5l16
- Bearer wey0sj7h4jksp02joebheczbjkxw0y
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -601,7 +601,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1e0928333701-YYZ
- 847f78f37ee25a50-VIE
Connection:
- keep-alive
Content-Encoding:
@@ -609,23 +609,23 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:13 GMT
- Fri, 19 Jan 2024 13:37:28 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=bI2hirE91RIdKvLGAuGYFmNDWo.7x186AGjRyaxu1w8-1704482833-1-AWDx/4zSK3tfOUw0nN7HIEAoOYngfUQlpngXXAjSghmK9lSyrCfAnhgaYSN4H+rWVNQxOZ31tuZLwOOisbiz/Zo=;
path=/; expires=Fri, 05-Jan-24 19:57:13 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=5ecjpD04TCwTlrH57YWF1w7277xy8jZryDcULP1MKs0-1705671448-1-AXAzh8GGgViKgB9gSNhdbACQOIN8C26nd5Kj4dDz6Wd7K0QFiNLM5RDm35qvOqqvaGe5l/3sQG/xBsbRC4oJI9w=;
path=/; expires=Fri, 19-Jan-24 14:07:28 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
Via:
- 1.1 0df778cadb5eaa000de4f1d7838b16e0.cloudfront.net (CloudFront)
- 1.1 4de71b0a42267b098ed30fff0d8a660a.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- pJHvaV9ghiHsZMTQ_IcKG9EX2fXmnbLHRZQdBFPHA31DrhiJTcMAcQ==
- 3qugWTzNrbWm_0zVSD9uGE6qR4JHusZt0cj8a1-SWATPF1bQ-3ekZg==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -635,13 +635,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKysFlZvHcEQfQ=
- RygryG99vHcEVjQ=
x-amzn-Remapped-Content-Length:
- '97'
x-amzn-Remapped-Date:
- Fri, 05 Jan 2024 19:27:13 GMT
- Fri, 19 Jan 2024 13:37:28 GMT
x-amzn-RequestId:
- 391acfec-991b-4b11-8ec1-bc5ccc558a7c
- 680e91f5-50da-49f2-bade-44b9247fbd98
status:
code: 200
message: OK
@@ -653,7 +653,7 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer 9vv70shduosepkqte323j2sk7e5l16
- Bearer wey0sj7h4jksp02joebheczbjkxw0y
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -676,7 +676,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 840e1e0c8e45a1da-YYZ
- 847f78f92ae85ae8-VIE
Connection:
- keep-alive
Content-Encoding:
@@ -684,23 +684,23 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Jan 2024 19:27:13 GMT
- Fri, 19 Jan 2024 13:37:29 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=_Lbr4oQE0LaNfBP5BiCrLEOHj.IXNE2El_O5u8FK.o4-1704482833-1-AQ5NVKvfJ9qNvAwufTD+7oNVvnlkcCbO0Qv+OIrYoYM4xPER/87JcGOd65ILQVduWMI7dX259NTaJe/oCgeTzZs=;
path=/; expires=Fri, 05-Jan-24 19:57:13 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=6X3Z2yBQwumpynWlLt9ocPpOYpl73BjMc.UcYpK6ffk-1705671449-1-AZ+1O4hCGxZIItvpLiUJh8VKfzTLfx00xBiQsSE9Q9GWHgdP2a7LITTX+dG0uiz070PKLR5UAz4iVYq3wX5Vywk=;
path=/; expires=Fri, 19-Jan-24 14:07:29 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
Via:
- 1.1 f7da5d3db9ee44e1812f138a4bdfd564.cloudfront.net (CloudFront)
- 1.1 95c9d51ed7176777d7ac8ca8cb233696.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- L9J0t_WDbn0jZmgEBmKE7fN3m-ZQAHr2GpcHcZznMRsnJ1Su2BRQQA==
- y5xqVB4FhS0ZW1-OLBhrZ0wKfs_ze1YrMYd_o06UP4RvduEfkdA-lg==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -710,13 +710,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- RFKyyGQhPHcEpHQ=
- Rygr8H8jvHcES2w=
x-amzn-Remapped-Content-Length:
- '477'
x-amzn-Remapped-Date:
- Fri, 05 Jan 2024 19:27:13 GMT
- Fri, 19 Jan 2024 13:37:29 GMT
x-amzn-RequestId:
- c3bcc7b4-bdfc-4c69-8a60-c8b5e6a7478b
- 605655b7-bab7-4f34-934e-3197221fb3f2
status:
code: 200
message: OK

View File

@@ -18,6 +18,113 @@ interactions:
- 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:
- 847f7923eb415a68-VIE
Connection:
- keep-alive
Content-Length:
- '437'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:35 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=LuRKnzhlumMElLmukIXuVmMgCcXtW0XDpsH53Zw6xsg-1705671455-1-AX0/uq4rO9sT5PELhyDuZygY76dEEdTTCjMrqdCaT1H61LqJiH4K6nY4WvDX0wgUJe9+YFtwG9wuZ83ioARrOVs=;
path=/; expires=Fri, 19-Jan-24 14:07:35 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:
- 1dq0DchR7bTMsHlc95R5clqE77jn2I5GP4gH8PfgSf2m3Tjs0l-eKg==
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:
- Rygs9G6QPHcEp6Q=
x-amzn-ErrorType:
- AccessDeniedException
x-amzn-RequestId:
- f5db871a-286b-4678-90a1-f76e1b1f9589
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":"f2e6dg9iq7t3ewie86rcphdb7xmrr4","expires_in":5446613,"token_type":"bearer"}
'
headers:
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '93'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:36 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-65aa7b20-59ebf75d0a230ec439f79578
status:
code: 200
message: OK
- request:
body: fields id, name; where slug="n64";
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer f2e6dg9iq7t3ewie86rcphdb7xmrr4
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- '34'
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]"
@@ -25,7 +132,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7eff5636a99d36a1-YYZ
- 847f792da9eb5a68-VIE
Connection:
- keep-alive
Content-Encoding:
@@ -33,23 +140,23 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 01 Aug 2023 16:07:54 GMT
- Fri, 19 Jan 2024 13:37:37 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=M6jV8IDBXuhn5koc54NIo92mpS_07Vq_YCS_Er_x8Ho-1690906074-0-Aatz9H75G6sex1NR59WNaayPhbzHq5bsGY69J802KkuOxTJIRVagK7kMa09OIayfKnTNr4nci8tkf4PwZtAPBCQ=;
path=/; expires=Tue, 01-Aug-23 16:37:54 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=UeR9THzl1BMESRswlbiF8O8HVtWbphaaVN.u1NJwYaU-1705671457-1-ARbJ6pvkJw05JjLlnzVW0agt1kIneTfVdFlNtN3wfXtsa6k2ebGmJNAjpyqHMLabokene6qJ1JvPWfhGB8Al/N8=;
path=/; expires=Fri, 19-Jan-24 14:07:37 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
Via:
- 1.1 77f3bc2c9964f50671e7151896d06648.cloudfront.net (CloudFront)
- 1.1 ba761cfda8bfa6cbda2b6c433d6201f6.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- Q_HAeLD8jS46IJCOE7dnaNhMJy844TeELDlDwNXScyuwNEiQIqIUgw==
- MfgSRHijVQz7kKWEBEKwOWuUABiiDDo9zTBwaIavMBXPh0McT6UfWg==
X-Amz-Cf-Pop:
- YUL62-C2
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -59,13 +166,13 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- I_QaOHVMPHcFiCQ=
- RygtQH5QvHcEOWg=
x-amzn-Remapped-Content-Length:
- '50'
x-amzn-Remapped-Date:
- Tue, 01 Aug 2023 16:07:54 GMT
- Fri, 19 Jan 2024 13:37:37 GMT
x-amzn-RequestId:
- a5224844-883a-4a2b-9e5a-a1278adeaec3
- e160c12d-050e-4ace-a78c-4119da0f995a
status:
code: 200
message: OK
@@ -77,7 +184,114 @@ interactions:
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Bearer test_token
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- '31'
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:
- 847f7932eed55ab5-VIE
Connection:
- keep-alive
Content-Length:
- '437'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:38 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=5DrFN8rmd3MUbDV8GdtLxaEwZW.J9jcO_D97UUZd6qs-1705671458-1-ATJi7TaAzGqvZOtYHVUylDYcAagmfdS406NJfPFLaoTW/WKsVdMFQQKx+WQcX2D+PLlIQfgajycXBqqCWCcsy60=;
path=/; expires=Fri, 19-Jan-24 14:07:38 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 95c9d51ed7176777d7ac8ca8cb233696.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- 5l8kbnmcqoAaf0ZoxM790IfzpLld4nSsqvLJSBw4My5JZwvdZiDACg==
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:
- RygtYGmVPHcEGcQ=
x-amzn-ErrorType:
- AccessDeniedException
x-amzn-RequestId:
- 45e46f02-4827-4250-a7af-6d78bcb39c8a
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":"dgnj5jacdcprwqcumxksdhz971u99l","expires_in":4848708,"token_type":"bearer"}
'
headers:
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '93'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:39 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-65aa7b23-7c0c3f6b134dd92804e3f668
status:
code: 200
message: OK
- request:
body: fields id, name; where slug="";
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer dgnj5jacdcprwqcumxksdhz971u99l
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
@@ -95,7 +309,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7eff5637ea8e53ef-YYZ
- 847f793f1963248a-ZAG
Connection:
- keep-alive
Content-Length:
@@ -103,21 +317,21 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 01 Aug 2023 16:07:55 GMT
- Fri, 19 Jan 2024 13:37:40 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=gE4jVTITKRcjnyoGHaSakiXPFmrb2UPnGvjjliZc0NU-1690906075-0-AZJKx7NGH6ws1e8nUErmNIBGvc1tW4ATwpOgnX3lwXHds7EMTL3plHx8pdSpnvFINrX66SVa+Z1GmnGGfOc8HJ0=;
path=/; expires=Tue, 01-Aug-23 16:37:55 GMT; domain=.igdb.com; HttpOnly; Secure;
- __cf_bm=gnQoBfHXjnj1a_AqfUftviJ4YKJZPPaxvcpSorQwE6c-1705671460-1-ATX7U3THaIbbG/0WMjoSH0Txd3rapaVpAq8SEbuCNyMhLLwnBSMKHherISYXpVKn6hb4eUmZ1LZRZAPI5kbmaoA=;
path=/; expires=Fri, 19-Jan-24 14:07:40 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 d7e35fb15b3339fbd8a9457f22308ea0.cloudfront.net (CloudFront)
- 1.1 de5338eac881cf5d87f2d811c3b7417c.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- sSYuZMZMfaWt75JeV6cdJzVc5cGFHQ3LmMu7xU1USOVDSQdjM-z44w==
- B0LrRDTakDPE14xovQLLMpdJ5WguGkZcc203pPEdUNM-SCGZk4fxHw==
X-Amz-Cf-Pop:
- YTO50-P1
- VIE50-C2
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
@@ -127,13 +341,81 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
x-amz-apigw-id:
- I_QaQEcrvHcF0Ig=
- RygtpE1GPHcELaQ=
x-amzn-Remapped-Content-Length:
- '2'
x-amzn-Remapped-Date:
- Tue, 01 Aug 2023 16:07:54 GMT
- Fri, 19 Jan 2024 13:37:40 GMT
x-amzn-RequestId:
- ad21ab8d-30f2-4d81-b3bf-1a241b6379a2
- 5a7437cf-1dc1-4ff4-8d2b-4b6e73599c8c
status:
code: 200
message: OK
- request:
body: fields id, name; where slug="";
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer dgnj5jacdcprwqcumxksdhz971u99l
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- '31'
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:
- 847f7942ec945abd-VIE
Connection:
- keep-alive
Content-Length:
- '2'
Content-Type:
- application/json
Date:
- Fri, 19 Jan 2024 13:37:40 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=.GvAgzuLBUILPOAU4qzTnt9ru4GlltXhurSbrvmoEwU-1705671460-1-Af5jCakYhp8BPH3bSIxKWa6hqLNlBHgZ0rPiA7yI55SXBfnwuouu2eg2n1iPydZoKnsoSzVNJyHoB165b5A30K4=;
path=/; expires=Fri, 19-Jan-24 14:07:40 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Via:
- 1.1 659e81bfffb15e4b314a9b12d4db8946.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- -U2SQuL1999EN_LGz7wkPV29-blNIdlv5CszU5qxq6Dr4JOMB4HZbQ==
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:
- RygtvFBBPHcEJBQ=
x-amzn-Remapped-Content-Length:
- '2'
x-amzn-Remapped-Date:
- Fri, 19 Jan 2024 13:37:40 GMT
x-amzn-RequestId:
- ce901324-4bde-4c6d-adbf-195a8363ece2
status:
code: 200
message: OK