bakatui/src/net.h
2024-11-29 18:26:02 +01:00

12 lines
259 B
C++

#include <curl/curl.h>
#include <nlohmann/json.hpp>
#include <string>
using nlohmann::json;
extern CURL *curl;
namespace bakaapi {
void login(std::string username, std::string password);
void refresh_access_token();
json get_grades();
} // namespace bakaapi