view include/services/anilist.h @ 45:4b05bc7668eb

filesystem: split config path into dotpath and config, add anime db path EVENTUALLY I'll get around to saving the anime db and list...
author Paper <mrpapersonic@gmail.com>
date Fri, 22 Sep 2023 15:21:55 -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