#include <yandex/maps/wiki/common/stat_utils.h>

#include <yandex/maps/wiki/common/secrets.h>

#include <util/string/strip.h>
#include <util/system/env.h>

namespace maps::wiki::common {

namespace {
const auto STAT_UPLOAD_API_URL_XPATH = "/config/common/stat/api-url/upload";
} // namespace


std::string
getStatUploadApiUrl(const common::ExtendedXmlDoc& config)
{
    return config.get<std::string>(STAT_UPLOAD_API_URL_XPATH);
}

} // namespace maps::wiki::common
