<commit_before>#include <string>
#include <map>

namespace dota2
{

    const auto MATCHHISTORY_API = "IDOTA2Match_570/GetMatchHistory/V1/";
    const auto MATCHDETAILS_API = "IDOTA2Match_570/GetMatchDetails/V1/";
    const auto HEROES_API       = "IEconDOTA2_570/GetHeroes/V1/";
    const auto ITEMS_API        = "IEconDOTA2_570/GetGameItems/V1/";
    const auto API_SERVER       = "https://api.steampowered.com";

    typedef std::map<std::string, std::string> Query;
    class APIRequest
    {
        public:
            APIRequest(const std::string &request, const std::string &key, const Query &query = Query());
            APIRequest(const std::string &url);
            void setUrl(const std::string &url);
            std::string getUrl();
            std::string runRequest();

        private:
            static std::string urlEncode(const std::string &value);

            std::string url;
    };
}
<commit_msg>Add include guards to apirequest<commit_after>#ifndef APIREQUEST_HPP_R9YKDL8S
#define APIREQUEST_HPP_R9YKDL8S

#include <string>
#include <map>

namespace dota2
{

    const auto MATCHHISTORY_API = "IDOTA2Match_570/GetMatchHistory/V1/";
    const auto MATCHDETAILS_API = "IDOTA2Match_570/GetMatchDetails/V1/";
    const auto HEROES_API       = "IEconDOTA2_570/GetHeroes/V1/";
    const auto ITEMS_API        = "IEconDOTA2_570/GetGameItems/V1/";
    const auto API_SERVER       = "https://api.steampowered.com";

    typedef std::map<std::string, std::string> Query;
    class APIRequest
    {
        public:
            APIRequest(const std::string &request, const std::string &key, const Query &query = Query());
            APIRequest(const std::string &url);
            void setUrl(const std::string &url);
            std::string getUrl();
            std::string runRequest();

        private:
            static std::string urlEncode(const std::string &value);

            std::string url;
    };
}

#endif /* end of include guard: APIREQUEST_HPP_R9YKDL8S */

{'fraction_non_alphanumeric': 0.11534603811434303, 'fraction_numerical': 0.024072216649949848, 'mean_word_length': 2.858800773694391, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6415000', 'n_tokens_mistral': 674, 'n_tokens_neox': 640, 'n_words': 138}