From 0384f570c59bc25ee77efc3165c1860b450bf536 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Tue, 21 Jul 2026 16:53:25 -0400 Subject: [PATCH] added AniList Browse Fetch for new feature --- .../AniListCalendar/SeasonBasedBrowse.bru | 160 ++++++++++++++++++ bruno/AniTrack/AniListCalendar/folder.bru | 8 + 2 files changed, 168 insertions(+) create mode 100644 bruno/AniTrack/AniListCalendar/SeasonBasedBrowse.bru create mode 100644 bruno/AniTrack/AniListCalendar/folder.bru diff --git a/bruno/AniTrack/AniListCalendar/SeasonBasedBrowse.bru b/bruno/AniTrack/AniListCalendar/SeasonBasedBrowse.bru new file mode 100644 index 0000000..5a82f69 --- /dev/null +++ b/bruno/AniTrack/AniListCalendar/SeasonBasedBrowse.bru @@ -0,0 +1,160 @@ +meta { + name: SeasonBasedBrowse + type: graphql + seq: 1 +} + +post { + url: https://graphql.anilist.co + body: graphql + auth: inherit +} + +body:graphql { + query ( + $page: Int = 1 + $perPage: Int = 20 + $id: Int + $type: MediaType + $isAdult: Boolean = false + $search: String + $format: [MediaFormat] + $status: MediaStatus + $countryOfOrigin: CountryCode + $source: MediaSource + $season: MediaSeason + $seasonYear: Int + $year: String + $onList: Boolean + $yearLesser: FuzzyDateInt + $yearGreater: FuzzyDateInt + $episodeLesser: Int + $episodeGreater: Int + $durationLesser: Int + $durationGreater: Int + $chapterLesser: Int + $chapterGreater: Int + $volumeLesser: Int + $volumeGreater: Int + $licensedBy: [Int] + $isLicensed: Boolean + $genres: [String] + $excludedGenres: [String] + $tags: [String] + $excludedTags: [String] + $minimumTagRank: Int + $sort: [MediaSort] = [POPULARITY_DESC, SCORE_DESC] + ) { + Page(page: $page, perPage: $perPage) { + pageInfo { + total + perPage + currentPage + lastPage + hasNextPage + } + media( + id: $id + type: $type + season: $season + format_in: $format + status: $status + countryOfOrigin: $countryOfOrigin + source: $source + search: $search + onList: $onList + seasonYear: $seasonYear + startDate_like: $year + startDate_lesser: $yearLesser + startDate_greater: $yearGreater + episodes_lesser: $episodeLesser + episodes_greater: $episodeGreater + duration_lesser: $durationLesser + duration_greater: $durationGreater + chapters_lesser: $chapterLesser + chapters_greater: $chapterGreater + volumes_lesser: $volumeLesser + volumes_greater: $volumeGreater + licensedById_in: $licensedBy + isLicensed: $isLicensed + genre_in: $genres + genre_not_in: $excludedGenres + tag_in: $tags + tag_not_in: $excludedTags + minimumTagRank: $minimumTagRank + sort: $sort + isAdult: $isAdult + ) { + id + title { + userPreferred + } + coverImage { + extraLarge + large + color + } + startDate { + year + month + day + } + endDate { + year + month + day + } + bannerImage + season + seasonYear + description + type + format + status(version: 2) + episodes + duration + chapters + volumes + genres + isAdult + averageScore + popularity + nextAiringEpisode { + airingAt + timeUntilAiring + episode + } + mediaListEntry { + id + status + } + studios(isMain: true) { + edges { + isMain + node { + id + name + } + } + } + } + } + } +} + +body:graphql:vars { + { + "page": 1, + "perPage": 20, + "season": "SUMMER", + "seasonYear": 2026, + "type": "ANIME", + "excludedTags": ["Ecchi", "LGBTQ+ Themes", "Yuri"], + "excludedGenres": ["Boy's Love"] + } +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/bruno/AniTrack/AniListCalendar/folder.bru b/bruno/AniTrack/AniListCalendar/folder.bru new file mode 100644 index 0000000..265b9b1 --- /dev/null +++ b/bruno/AniTrack/AniListCalendar/folder.bru @@ -0,0 +1,8 @@ +meta { + name: AniListCalendar + seq: 4 +} + +auth { + mode: inherit +}