view include/services/anilist.h @ 43:eb9a78345ecb

ci/osx: Use the actually supported Ubuntu image I don't like Ubuntu, but for some reason Darling only provides real working .deb images *specifically for* Ubuntu.
author Paper <mrpapersonic@gmail.com>
date Fri, 22 Sep 2023 12:06:49 -0400
parents 2743011a6042
children 619cbd6e69f9
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 {

int AuthorizeUser();

/* Read queries */
int GetAnimeList();

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

}; // namespace Services::AniList

#endif // __services__anilist_h