feat: add manga API requests and update anime requests

This commit is contained in:
Uthman Fatih 2026-11-02 02:25:26 +00:00
parent e33eafe277
commit 4b7025cae6
3 changed files with 133 additions and 24 deletions

View File

@ -4,14 +4,83 @@ name: Anime
meta: meta:
id: wrk_07ddc8ce763646ac9c8f173d07f9794e id: wrk_07ddc8ce763646ac9c8f173d07f9794e
created: 1793583628970 created: 1793583628970
modified: 1793583628970 modified: 1793584641307
description: "" description: All anime related api requests (i.e. fetching lists, airing
schedules, and so on)
collection:
- url: https://graphql.anilist.co
name: MediaListCollection
meta:
id: req_3897f0456ff843f4a8f67fce2bf0f980
created: 1793583986929
modified: 1793586040103
isPrivate: false
description: Get all the anime lists of a specified user id
sortKey: -1793583986929
method: POST
body:
mimeType: application/graphql
text: '{"query":"query ($userId: Int!) {\n MediaListCollection(type: ANIME,
userId: $userId) {\n lists {\n name\n entries
{\n id\n media {\n id\n title
{\n romaji\n\t\t\t\t\t\tenglish\n }\n }\n }\n }\n }\n}","variables":"{\n \"type\":
\"ANIME\",\n \"userId\": 8283179\n}"}'
headers:
- name: Content-Type
value: application/json
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
- url: https://graphql.anilist.co
name: AiringSchedule
meta:
id: req_1196ec001e1a482e9c3a2e7b876e04a7
created: 1793585402931
modified: 1793586291083
isPrivate: false
description: Fetches media title in romaji and english, alongside its airing
schedule for unreleased episodes
sortKey: -1793585402931
method: POST
body:
mimeType: application/graphql
text: '{"query":"query ($mediaId: Int!) {\n AiringSchedule(mediaId: $mediaId)
{\n media {\n title
{\n romaji\n english\n }\n format\n status\n airingSchedule(notYetAired:
true) {\n nodes
{\n episode\n airingAt\n timeUntilAiring\n }\n }\n }\n }\n}","variables":"{\n\t\"mediaId\":
195516\n}"}'
headers:
- name: Content-Type
value: application/json
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
cookieJar: cookieJar:
name: Default Jar name: Default Jar
meta: meta:
id: jar_24b6e6da5159f879e56d5ae67427295cc9b7e66f id: jar_24b6e6da5159f879e56d5ae67427295cc9b7e66f
created: 1793583628974 created: 1793583628974
modified: 1793583628974 modified: 1793586296454
cookies:
- id: 6fadc9b7-9fb4-4e01-9629-ad91f697912a
key: laravel_session
value: 4qB5zEfQDuD9NANy84DnyWoggXI9lH8vIXGdcTsr
domain: graphql.anilist.co
path: /
secure: false
httpOnly: true
hostOnly: true
environments: environments:
name: Base Environment name: Base Environment
meta: meta:

61
insomnia/manga.yaml Normal file
View File

@ -0,0 +1,61 @@
type: collection.insomnia.rest/5.0
schema_version: "5.1"
name: Manga
meta:
id: wrk_e58a92a4b0c34f7c9e931dc69854903c
created: 1793583639526
modified: 1793584999023
description: All manga related api requests (i.e. fetching lists). Airing
schedules will not use an Api due to a lack of support and will either use
scrapers or predictions.
collection:
- url: https://graphql.anilist.co
name: MediaListCollection
meta:
id: req_b032ce699fe9435385a211b662c3c6bd
created: 1793584343366
modified: 1793586280897
isPrivate: false
description: Get all the manga lists of a specified user id
sortKey: -1793584330452
method: POST
body:
mimeType: application/graphql
text: '{"query":"query ($userId: Int!) {\n MediaListCollection(type: MANGA,
userId: $userId) {\n lists {\n name\n entries
{\n id\n media {\n id\n title
{\n romaji\n\t\t\t\t\t\tenglish\n }\n }\n }\n }\n }\n}","variables":"{\n\t\"userId\":
8283179\n}"}'
headers:
- name: Content-Type
value: application/json
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
cookieJar:
name: Default Jar
meta:
id: jar_d380b7bf58ecae2b8764f73c9cdc5095239cfb3c
created: 1793583639540
modified: 1793586297400
cookies:
- id: a8f03825-11c7-4999-a838-9be8749e9cf8
key: laravel_session
value: NKmPUrduYOT6ItwsiPWFxkjtxgydL7shbUQkZhsR
domain: graphql.anilist.co
path: /
secure: false
httpOnly: true
hostOnly: true
environments:
name: Base Environment
meta:
id: env_d380b7bf58ecae2b8764f73c9cdc5095239cfb3c
created: 1793583639540
modified: 1793583639540
isPrivate: false

View File

@ -1,21 +0,0 @@
type: collection.insomnia.rest/5.0
schema_version: "5.1"
name: Manga
meta:
id: wrk_e58a92a4b0c34f7c9e931dc69854903c
created: 1793583639526
modified: 1793583639526
description: ""
cookieJar:
name: Default Jar
meta:
id: jar_d380b7bf58ecae2b8764f73c9cdc5095239cfb3c
created: 1793583639540
modified: 1793583639540
environments:
name: Base Environment
meta:
id: env_d380b7bf58ecae2b8764f73c9cdc5095239cfb3c
created: 1793583639540
modified: 1793583639540
isPrivate: false