view include/services/anilist.h @ 252:a0eeb2cc7e6d

*: resolve make distcheck failures
author Paper <paper@paper.us.eu.org>
date Tue, 06 Feb 2024 02:24:49 -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