view include/services/anilist.h @ 254:d14f8e0e40c3

[UNFINISHED] *: update anime button
author Paper <paper@paper.us.eu.org>
date Wed, 07 Feb 2024 07:57:37 -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