view include/services/anilist.h @ 50:10868c3fb2be

text.cpp: set paragraph width from document, labelled texts are now... dependent on sizeHint()
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Sep 2023 13:50:56 -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