grades can be digested
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user