Mercurial > minori
diff include/services/anilist.h @ 250:c130f47f6f48
*: many many changes
e.g. the search page is actually implemented now!
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 04 Feb 2024 21:17:17 -0500 |
parents | 3d2decf093bb |
children | 862d0d8619f6 |
line wrap: on
line diff
--- a/include/services/anilist.h Wed Jan 24 20:18:59 2024 -0500 +++ b/include/services/anilist.h Sun Feb 04 21:17:17 2024 -0500 @@ -1,9 +1,8 @@ #ifndef __services__anilist_h #define __services__anilist_h -#include "core/anime.h" -#include "core/json.h" -#include <curl/curl.h> +#include <vector> +#include <string> namespace Services { namespace AniList { @@ -13,6 +12,9 @@ /* Read queries */ int GetAnimeList(); +/* Search query */ +std::vector<int> Search(const std::string& search); + /* Write queries (mutations) */ int UpdateAnimeEntry(int id);