comparison include/services/anilist.h @ 304:2115488eb302

*: add very early season searcher
author Paper <paper@paper.us.eu.org>
date Mon, 13 May 2024 17:02:35 -0400
parents 3ec7804abf17
children 78929794e7d8
comparison
equal deleted inserted replaced
303:ab7ff259b4ca 304:2115488eb302
1 #ifndef MINORI_SERVICES_ANILIST_H_ 1 #ifndef MINORI_SERVICES_ANILIST_H_
2 #define MINORI_SERVICES_ANILIST_H_ 2 #define MINORI_SERVICES_ANILIST_H_
3
4 #include "core/anime.h"
5 #include "core/date.h"
3 6
4 #include <string> 7 #include <string>
5 #include <vector> 8 #include <vector>
6 9
7 namespace Services { 10 namespace Services {
12 /* Read queries */ 15 /* Read queries */
13 int GetAnimeList(); 16 int GetAnimeList();
14 17
15 /* Search query */ 18 /* Search query */
16 std::vector<int> Search(const std::string& search); 19 std::vector<int> Search(const std::string& search);
20 std::vector<int> GetSeason(Anime::SeriesSeason season, Date::Year year);
17 21
18 /* Write queries (mutations) */ 22 /* Write queries (mutations) */
19 int UpdateAnimeEntry(int id); 23 int UpdateAnimeEntry(int id);
20 24
21 } // namespace AniList 25 } // namespace AniList