view include/services/anilist.h @ 253:b3549da699a6

*: ooooh! stupid big commit! oops
author Paper <paper@paper.us.eu.org>
date Tue, 06 Feb 2024 16:56:32 -0500
parents c130f47f6f48
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