summaryrefslogtreecommitdiff
path: root/battleNetApi/include/hearthstoneApi.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'battleNetApi/include/hearthstoneApi.hpp')
-rw-r--r--battleNetApi/include/hearthstoneApi.hpp3
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);