comparison include/services/kitsu.h @ 320:1b5c04268d6a

services/kitsu: ACTUALLY finish GetAnimeList there are some things the API just... doesn't provide. therefore we have to request the genres separately any time a new anime info box is opened...
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 19:49:19 -0400
parents b1f4d1867ab1
children 78929794e7d8
comparison
equal deleted inserted replaced
319:d928ec7b6a0d 320:1b5c04268d6a
11 namespace Kitsu { 11 namespace Kitsu {
12 12
13 /* neither of these are stored in the config and only held temporarily */ 13 /* neither of these are stored in the config and only held temporarily */
14 bool AuthorizeUser(const std::string& email, const std::string& password); 14 bool AuthorizeUser(const std::string& email, const std::string& password);
15 15
16 bool RetrieveAnimeMetadata(int id);
17
16 int GetAnimeList(); 18 int GetAnimeList();
17 std::vector<int> Search(const std::string& search); 19 std::vector<int> Search(const std::string& search);
18 std::vector<int> GetSeason(Anime::SeriesSeason season, Date::Year year); 20 std::vector<int> GetSeason(Anime::SeriesSeason season, Date::Year year);
19 int UpdateAnimeEntry(int id); 21 int UpdateAnimeEntry(int id);
20 22