view include/services/anilist.h @ 59:327e9a5c72f1

filesystem: add basename and stem functions
author Paper <mrpapersonic@gmail.com>
date Thu, 28 Sep 2023 13:45:45 -0400
parents 619cbd6e69f9
children 3d2decf093bb
line wrap: on
line source

#ifndef __services__anilist_h
#define __services__anilist_h

#include "core/anime.h"
#include "core/json.h"
#include <curl/curl.h>

namespace Services::AniList {

bool AuthorizeUser();

/* Read queries */
int GetAnimeList();

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

}; // namespace Services::AniList

#endif // __services__anilist_h