comparison include/services/kitsu.h @ 317:b1f4d1867ab1

services: VERY initial Kitsu support it only supports user authentication for now, but it's definitely a start.
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 04:07:10 -0400
parents
children 1b5c04268d6a
comparison
equal deleted inserted replaced
316:180714442770 317:b1f4d1867ab1
1 #ifndef MINORI_SERVICES_KITSU_H_
2 #define MINORI_SERVICES_KITSU_H_
3
4 #include "core/anime.h"
5 #include "core/date.h"
6
7 #include <string>
8 #include <vector>
9
10 namespace Services {
11 namespace Kitsu {
12
13 /* neither of these are stored in the config and only held temporarily */
14 bool AuthorizeUser(const std::string& email, const std::string& password);
15
16 int GetAnimeList();
17 std::vector<int> Search(const std::string& search);
18 std::vector<int> GetSeason(Anime::SeriesSeason season, Date::Year year);
19 int UpdateAnimeEntry(int id);
20
21 } // namespace Kitsu
22 } // namespace Services
23
24 #endif // MINORI_SERVICES_KITSU_H_