initial commit

This commit is contained in:
2025-04-24 18:40:03 +02:00
commit 88cc93fd50
19 changed files with 529 additions and 0 deletions

View File

View File

@@ -0,0 +1,54 @@
MANGA_QUERY = """
query media($search: String) {
Page {
pageInfo {
hasNextPage
}
media(type: MANGA, search: $search) {
id
title {
romaji
english
native
}
synonyms
}
}
}
"""
MANGA_ID_QUERY = """
query media($id: Int) { # Define which variables will be used in the query (id)
Media (type: MANGA, id:$id) { # Insert our variables into the query arguments (id)
id
title {
romaji
english
native
}
synonyms
format
type
status(version:2)
genres
tags{
name
isAdult
}
description
coverImage {
large
}
isAdult
chapters
volumes
externalLinks {
site
url
type
}
countryOfOrigin
}
}
"""