grades can be digested

This commit is contained in:
2025-12-17 17:39:46 -06:00
parent a953f2d303
commit fc02524fc1
3 changed files with 52 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
#include "nlohmann/json_fwd.hpp"
#include "skwyward-api-utils.hpp"
#include "spdlog/spdlog.h"
@@ -13,5 +14,8 @@ int main (int argc, char *argv[]) {
api_utils::ErrorResponse test_login = api_methods::get_auth_status(base_uri, test_username, test_password);
spdlog::info("Auth attempt response : {}", test_login.success);
api_utils::GradesResponse test_grades = api_methods::get_grades(base_uri, test_username, test_password);
spdlog::info("Grades: {}", nlohmann::json {test_grades}.dump());
return 0;
}