view 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 source

#ifndef __services__anilist_h
#define __services__anilist_h

#include <vector>
#include <string>

namespace Services {
namespace AniList {

bool AuthorizeUser();

/* Read queries */
int GetAnimeList();

/* Search query */
std::vector<int> Search(const std::string& search);

/* Write queries (mutations) */
int UpdateAnimeEntry(int id);

} // namespace AniList
} // namespace Services

#endif // __services__anilist_h