summaryrefslogtreecommitdiff
path: root/battleNetApi/include/apiUrl.hpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-01-01 03:35:41 +0100
committerAotrix <[email protected]>2026-01-01 03:35:41 +0100
commitc05901c38c6a77779807a6b224b9b624bfcaa5d3 (patch)
treefb8d212cd9995e4eecd351de352ea6aab2295924 /battleNetApi/include/apiUrl.hpp
parenta56ae1a7ad5f624b05570965bed76e928bbd945c (diff)
removed useless files
Diffstat (limited to 'battleNetApi/include/apiUrl.hpp')
-rw-r--r--battleNetApi/include/apiUrl.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/battleNetApi/include/apiUrl.hpp b/battleNetApi/include/apiUrl.hpp
new file mode 100644
index 0000000..509b248
--- /dev/null
+++ b/battleNetApi/include/apiUrl.hpp
@@ -0,0 +1,19 @@
+#pragma once
+#include <string>
+#include <unordered_map>
+
+class ApiUrl {
+ public:
+ ApiUrl(const std::string &iContentType, const std::string &iRegion);
+
+ void setRegion(const std::string &iRegion);
+ void setLocale(const std::string &iLocale);
+ void setGameMode(const std::string &iGameMode);
+ void setPageSize(const std::string &iPageSize);
+ std::string operator()() const;
+
+ private:
+ std::string mContentType;
+ std::string mRegion;
+ std::unordered_map<std::string, std::string> aParameters;
+};