diff options
| author | Aotrix <[email protected]> | 2026-04-18 22:20:26 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-04-18 22:20:26 +0200 |
| commit | 8837de4783b25255b6a1799be210c9e580dd2d4f (patch) | |
| tree | 5073cac386123c6d403714b4a5dcb7cceade7056 /battleNetApi/include/hearthstoneApi.hpp | |
| parent | 27459497a5ba0eac18a57e0c15b21972ab7e5284 (diff) | |
Replace operator() with text method
Diffstat (limited to 'battleNetApi/include/hearthstoneApi.hpp')
| -rw-r--r-- | battleNetApi/include/hearthstoneApi.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/battleNetApi/include/hearthstoneApi.hpp b/battleNetApi/include/hearthstoneApi.hpp index ecf785a..f2bdf04 100644 --- a/battleNetApi/include/hearthstoneApi.hpp +++ b/battleNetApi/include/hearthstoneApi.hpp @@ -8,7 +8,8 @@ using json = nlohmann::json; class HearthstoneApi { public: - static json makeApiRequest(const std::string &iUrl, const std::string &iTokenText); + static json makeApiRequest(const ApiUrl &iApiUrl, const std::string &iTokenText); + static std::vector<json> makeApiRequest(const std::vector<ApiUrl> &iApiUrls, const std::string &iTokenText); static std::vector<json> makeApiRequest(const std::vector<std::string> &iUrls, const std::string &iTokenText); static json downloadCards(ApiUrl &iApiUrl, Token &iToken); |
